• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 135
[OBSOLETE] Pandora Radio (Script) Music Addon
#16
Just tested out the Beta4 version. I am now able to exit the script with the <menu> key. Thanks for making the change...
Reply
#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.
Reply
#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!
Reply
#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.
Reply
#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!!!
Reply
#21
Any possibility to use pandora for non USA users? is it possible to change proxy for the plugin?
Reply
#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.
Reply
#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!
Reply
#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
Reply
#25
adave,
Same problem as @soundisgood, your encryption key files got corrupt somehow.
Reply
#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!
Reply
#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=
Reply
#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!
Reply
#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...
Reply
#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.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 135

Logout Mark Read Team Forum Stats Members Help
[OBSOLETE] Pandora Radio (Script) Music Addon11