[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
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: 124
Joined: Oct 2009
Reputation: 5
Post: #25
adave,
Same problem as @soundisgood, your encryption key files got corrupt somehow.
find quote
bac522 Offline
Member
Posts: 86
Joined: Mar 2010
Reputation: 0
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
Member
Posts: 86
Joined: Mar 2010
Reputation: 0
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: 69
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
Member
Posts: 86
Joined: Mar 2010
Reputation: 0
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