[RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8)

  Thread Rating:
  • 10 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
m_lopez_h Offline
Member
Posts: 63
Joined: Jul 2004
Reputation: 0
Post: #16
Just tested out the Beta4 version. I am now able to exit the script with the <menu> key. Thanks for making the change...
find quote
soundisgood Offline
Junior Member
Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #17
Thanks for your work on this script and I'm really looking forward to using it. Problem is I'm getting an error on launch. The log file reads:

21:02:56 T:2272 M:520278016 NOTICE: -->Python Interpreter Initialized<--
21:02:57 T:2272 M:517238784 NOTICE: Traceback (most recent call last):
21:02:57 T:2272 M:517238784 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\default.py", line 3, in ?
21:02:57 T:2272 M:517238784 NOTICE: from libpandora.pandora import Pandora
21:02:57 T:2272 M:517238784 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\pandora.py", line 5, in ?
21:02:57 T:2272 M:517234688 NOTICE: import crypt
21:02:57 T:2272 M:517234688 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\crypt.py", line 2, in ?
21:02:57 T:2272 M:517230592 NOTICE: import keys
21:02:57 T:2272 M:517230592 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\keys.py", line 14, in ?
21:02:57 T:2272 M:517226496 NOTICE: key_out = KeyFile( "crypt_key_output.h" )
21:02:57 T:2272 M:517226496 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\keys.py", line 6, in __init__
21:02:57 T:2272 M:517226496 NOTICE: ( n, p, s ) = pianoparser.parse_file( fname )
21:02:57 T:2272 M:517226496 NOTICE: File "C:\Documents and Settings\Revo Inc\Application Data\XBMC\scripts\Pandora\libpandora\pianoparser.py", line 20, in parse_file
21:02:57 T:2272 M:517222400 NOTICE: n = int( re.search( "_key_n = (\d*)", i ).group(1) )
21:02:57 T:2272 M:517222400 NOTICE: AttributeError
21:02:57 T:2272 M:517222400 NOTICE: :
21:02:57 T:2272 M:517222400 NOTICE: 'NoneType' object has no attribute 'group'
21:02:57 T:2272 M:517222400 ERROR: Scriptresult: Error


I look forward to any help you might be able to provide. I have tried it with two computers and had no luck on either PC.

Thanks.
find quote
jqpublic13 Offline
Junior Member
Posts: 6
Joined: Mar 2010
Reputation: 0
Post: #18
I love the script; it's great to merge Pandora with XBMC.

Is there a way to minimize the Pandora window while it's playing so I can keep full-screen visualizations? When I run this on my computer (and not just my LCD TV), I'm a bit worried about burn-in on the screen...

Thanks again!
find quote
spbogie Offline
Skilled Python Coder
Posts: 125
Joined: Oct 2009
Reputation: 5
Post: #19
soundisgood,
Looks like it's having trouble parsing the key files. Try re-downloading them (actually download, not copy/paste). If that doesn't help, you should be able to catch me idling in irc, send me a pm and we'll see if we can't fix it.

jqpublic13,
Just sparked a very interesting idea for that. I'll play with it and see what I can come up with.
find quote
bcre3306 Offline
Junior Member
Posts: 3
Joined: Mar 2010
Reputation: 0
Post: #20
I'm loving this! This was my missed feature for XBMC. My only problem I am having with this is when I exit the script then try to go back in it will crash XBMC on my ATV. Anyone else having this issue?

Thanks!!!
find quote
gilsil Offline
Junior Member
Posts: 46
Joined: Mar 2008
Reputation: 0
Location: Sweden
Post: #21
Any possibility to use pandora for non USA users? is it possible to change proxy for the plugin?
find quote
soundisgood Offline
Junior Member
Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #22
All fixed! It's kinda funny... You said to download it, not copy/paste. I had downloaded it before so this time I copy/pasted and that did the trick.

This is a really great addition to XBMC. I think your going to be the hero of many a person.

Thanks for your help.
find quote
jqpublic13 Offline
Junior Member
Posts: 6
Joined: Mar 2010
Reputation: 0
Post: #23
spbogie Wrote:jqpublic13,
Just sparked a very interesting idea for that. I'll play with it and see what I can come up with.

I can't wait to see what you come up with... at home, when I listen to Pandora on my HTPC, I just turn off my television, as the audio is handled by my receiver... in my office, though, it's not an option on my computer...

Thanks!
find quote
adave Offline
Member
Posts: 53
Joined: Mar 2010
Reputation: 0
Post: #24
Hello. I've followed the steps but am getting a script error upon launch (attribute error). Any help would be appreciated.

15:22:12 T:2953318400 M:567808000 NOTICE: Traceback (most recent call last):
15:22:12 T:2953318400 M:567808000 NOTICE: File "/Users/xx/Library/Application Support/XBMC/scripts/Pandora/default.py", line 3, in ?
15:22:12 T:2953318400 M:567808000 NOTICE: from libpandora.pandora import Pandora
15:22:12 T:2953318400 M:567795712 NOTICE: File "/Users/xx/Library/Application Support/XBMC/scripts/Pandora/libpandora/pandora.py", line 5, in ?
15:22:12 T:2953318400 M:567795712 NOTICE: import crypt
15:22:12 T:2953318400 M:567795712 NOTICE: File "/Users/xx/Library/Application Support/XBMC/scripts/Pandora/libpandora/crypt.py", line 2, in ?
15:22:12 T:2953318400 M:567795712 NOTICE: import keys
15:22:12 T:2953318400 M:567369728 NOTICE: File "/Users/xx/Library/Application Support/XBMC/scripts/Pandora/libpandora/keys.py", line 14, in ?
15:22:12 T:2953318400 M:567906304 NOTICE: key_out = KeyFile( "crypt_key_output.h" )
15:22:12 T:2953318400 M:567808000 NOTICE: File "/Users/xx/Library/Application Support/XBMC/scripts/Pandora/libpandora/keys.py", line 6, in __init__
15:22:12 T:2953318400 M:567808000 NOTICE: ( n, p, s ) = pianoparser.parse_file( fname )
15:22:12 T:2953318400 M:567808000 NOTICE: File "/Users/xx/Library/Application Support/XBMC/scripts/Pandora/libpandora/pianoparser.py", line 20, in parse_file
15:22:12 T:2953318400 M:567808000 NOTICE: n = int( re.search( "_key_n = (\d*)", i ).group(1) )
15:22:12 T:2953318400 M:567808000 NOTICE: AttributeError
15:22:12 T:2953318400 M:567808000 NOTICE: :
15:22:12 T:2953318400 M:567808000 NOTICE: 'NoneType' object has no attribute 'group'
15:22:12 T:2953318400 M:567808000 ERROR: Scriptresult: Error
15:22:18 T:2685011168 M:620474368 ERROR: SelectItemFromPoint: Speed 0.957088
find quote
spbogie Offline
Skilled Python Coder
Posts: 125
Joined: Oct 2009
Reputation: 5
Post: #25
adave,
Same problem as @soundisgood, your encryption key files got corrupt somehow.
find quote
bac522 Offline
Senior Member
Posts: 154
Joined: Mar 2010
Reputation: 2
Post: #26
Okay, I was just about to post the same problem, but then notice that you need to cut and paste those files (crypt_key_output.h, crypt_key_input.h) you can't do a wget (linux) on them. That seems odd, but after doing that the script came up...albeit rather slowly...actually stilling waiting about 3 minutes later, but it does seem to be running and certianly looking forward to this getting smoothed out. Good work so far on the script!
find quote
bac522 Offline
Senior Member
Posts: 154
Joined: Mar 2010
Reputation: 2
Post: #27
Hhhhmmmm got the following in debug below and XBMC crashed. Had told it to use AAC I believe. When I switch to MP3 it works, but the script is painfully slow on my machine and I'm not running anything special. I'm running Ubuntu on a AMD 3000+ CPU that plays 720p video without a problem so I should have the horse power, but it takes over 5 minutes for the script to come up. Once it's up it works fine.

Quote:ERROR: CAudioDecoder: Unable to Init Codec while loading file http://audio-sjl-t2-1.pandora.com/access...519&token=
(This post was last modified: 2010-03-31 01:39 by bac522.)
find quote
adave Offline
Member
Posts: 53
Joined: Mar 2010
Reputation: 0
Post: #28
@spbogie. That's exactly what it was. Thanks for the help.

Script works great! Launched almost immediately. Keeping my fingers crossed nothing changes and this keeps working!
find quote
crackers Offline
Member
Posts: 84
Joined: Sep 2009
Reputation: 0
Post: #29
bac522 Wrote:I'm running Ubuntu on a AMD 3000+ CPU that plays 720p video without a problem so I should have the horse power, but it takes over 5 minutes for the script to come up. Once it's up it works fine.
I had a 3200 (single core, folks) and scripts didn't run at all (or were painfully slow). The new Acer Revo and my x2 (6000) runs them okay (still slow on the x2). Apparently scripts take a WHOLE lot more horsepower than you'd think...
find quote
bac522 Offline
Senior Member
Posts: 154
Joined: Mar 2010
Reputation: 2
Post: #30
crackers Wrote:I had a 3200 (single core, folks) and scripts didn't run at all (or were painfully slow). The new Acer Revo and my x2 (6000) runs them okay (still slow on the x2). Apparently scripts take a WHOLE lot more horsepower than you'd think...

Initially, I thought it was a CPU thing, but when I turned on debug, I didn't see my CPU utilization get that bad. The Pandora screen comes up quick but getting my station list is painfully slow. Once the station list comes up, playing music works fine unless I want to change a station. That' either doesn't work or I have the same problem...too slow.
find quote
Post Reply