Kodi Community Forum
[OBSOLETE] Pandora Radio (Script) Music Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [OBSOLETE] Pandora Radio (Script) Music Addon (/showthread.php?tid=70471)



RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - bob050082 - 2012-10-25

I did the same thing gabryael did above.

Just tried it again. Got about 6 songs through this time before dying.

Here's the pastebin: 1st http://pastebin.com/6mpvDCz8 2nd http://pastebin.com/aybD9TwR


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - gabryael - 2012-10-25

(2012-10-23, 22:37)newatv2user Wrote: Use it fullscreen.

If already doing so, Pastebin your xbmc.log.

Thanks for being willing to take a look. I am running XMBC in fullscreen and I've added a link to the xbmc.log. Note, this is with DEBUG off. I'll run it all again with DEBUG on shortly and post a link to that output as well.
http://pastebin.com/PVPsYcYq

Output with DEBUG:
http://pastebin.com/fsm4yAgD


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - newatv2user - 2012-10-25

Pretty sure this happens only when not fullscreen.
Quote:11:09:19 T:2844 ERROR: Exception in python script callback execution
11:09:19 T:2844 ERROR: Traceback (most recent call last):
11:09:19 T:2844 ERROR: File "C:\Users\Chris\AppData\Roaming\XBMC\addons\script.xbmc.pandora\pandagui.py", line 38, in onInit
11:09:19 T:2844 ERROR: self.getControl(BTN_THUMBED_DN).setVisible(False)
11:09:19 T:2844 ERROR: TypeError
11:09:19 T:2844 ERROR: :
11:09:19 T:2844 ERROR: Non-Existent Control 337

What is your display resolution?

It's a addon skin issue. The NTSC skin does not have all controls as the 720p skin. For whatever reason, your pandora is loading the NTSC skin (which you can confirm by the presence of 'i' button instead of 'zzz')


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - gabryael - 2012-10-26

(2012-10-25, 22:01)newatv2user Wrote: Pretty sure this happens only when not fullscreen.
Quote:11:09:19 T:2844 ERROR: Exception in python script callback execution
11:09:19 T:2844 ERROR: Traceback (most recent call last):
11:09:19 T:2844 ERROR: File "C:\Users\Chris\AppData\Roaming\XBMC\addons\script.xbmc.pandora\pandagui.py", line 38, in onInit
11:09:19 T:2844 ERROR: self.getControl(BTN_THUMBED_DN).setVisible(False)
11:09:19 T:2844 ERROR: TypeError
11:09:19 T:2844 ERROR: :
11:09:19 T:2844 ERROR: Non-Existent Control 337

What is your display resolution?

It's a addon skin issue. The NTSC skin does not have all controls as the 720p skin. For whatever reason, your pandora is loading the NTSC skin (which you can confirm by the presence of 'i' button instead of 'zzz')

Thanks much!!. I took a look at my xbmc settings and found that, while it was set to fullscreen, the resolution was set to something like 1640x1050 so I exited out and checked the OS resolution and it was the same...not sure when or how that happened, but I set it back to 1920x1080, relaunched XBMC and verified that the new resolution was reflected under setttings as well as still set to fullscreen...Pandora's been running for almost an hour now and I couldn't be happier! And yes, I do see the 'zzz' icon in the interface now instead fo the 'i' icon.


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - joshualvn - 2012-10-26

I was having the same problem.... 1 song and cuts off and returns to XMBC home page.
I uninstalled and trashed old zip... looked for packages(where do I find those?)

I downloaded new script from post #1546, but when I try to install by zip it does not work. I can see the folder but when I click on it two subfolders appear Pandora(which is empty) and resources.

What am I doing wrong? I do not remember it being that difficult when I did it the first time.


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - baggar11 - 2012-10-27

Hmm, I've uninstalled, deleted all the addon contents and tried reinstalling. My script doesn't run anymore. Here's my output.

18:21:31 T:62571520 NOTICE: -->Python Interpreter Initialized<--
18:21:31 T:62571520 NOTICE: PANDORA: Initializing v1.2.10
18:21:31 T:62571520 NOTICE: PANDORA: sys.platform = darwin
18:21:32 T:62571520 NOTICE: PANDORA: Loading key from file "/Users/frontrow/Library/Application Support/XBMC/userdata/addon_data/script.xbmc.pandora/key_in"
18:21:32 T:62571520 NOTICE: PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/json/src/libpiano/crypt_key_input.h"
18:21:32 T:62571520 ERROR: Error Type: <type 'exceptions.AttributeError'>
18:21:32 T:62571520 ERROR: Error Contents: 'HTTPError' object has no attribute 'reason'
18:21:32 T:62571520 ERROR: Traceback (most recent call last):
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/default.py", line 248, in <module>
panda = Panda()
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/default.py", line 63, in __init__
self.pandora = Pandora( dataDir, fmt )
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/libpandora/pandora.py", line 34, in __init__
if not self.keys.loadKeys():
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/libpandora/keys.py", line 44, in loadKeys
"crypt_key_input.h" )
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/libpandora/keys.py", line 124, in _loadKeyFromURL
print "PANDORA: URLError: %s" %e.reason
AttributeError: 'HTTPError' object has no attribute 'reason'



RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - cobels - 2012-10-27

Sorry for this noob question. Have looked in the forum but have not found the answer.

If you downloadload master.tar.gz from link on first page. How do i install it then in xbmc. Because xbmc expects an add from a zip file. And untaring this file and zipping it does not give a reslult.

The link on the first page gives me a download to a master.tar.gz where i expect a zip.

Please some help on what is most likely obvious to you.


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - user54 - 2012-10-27

(2012-10-27, 20:40)cobels Wrote: Sorry for this noob question. Have looked in the forum but have not found the answer.

If you downloadload master.tar.gz from link on first page. How do i install it then in xbmc. Because xbmc expects an add from a zip file. And untaring this file and zipping it does not give a reslult.

The link on the first page gives me a download to a master.tar.gz where i expect a zip.

Please some help on what is most likely obvious to you.

That is a file for a different type of file system. I have uploaded a zip file that will work for you below.

http://www.filedropper.com/xbmc-pandora-vtwoodss-xbmc-pandora-pithos

A way to do this yourself is to download a program like 7-zip, which will read the gz file type. Once you have extracted the files, you can then make a zip file from that.


RE: Pandora Station Sorting - ssweet - 2012-10-29

(2012-10-21, 06:08)TechLife Wrote:
(2012-10-14, 00:02)ssweet Wrote: Hope this helps

Worked great for me. Sooo happy to have that mess cleaned up. Thanks!

Awesome. I'm glad I could help. Thanks for the +1 rep.


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - SorryGoFish - 2012-10-30

(2012-10-05, 23:53)newatv2user Wrote: Nothing major. It seems the file url may not have pandora in it any more.

Thank you so much for the fix! It was driving me nuts!

Do we have an active git repository where this change can be pushed? It looks like `vtwoodss` hasn't had any updates in a while.

Edit Also, is there a way to go to the homescreen (and see "Artist Slideshow") without quitting Pandora?


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

I am having the play one song then pause problem on Raspbmc, and I have only installed the fixed version.

Any help?


Re: RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - SorryGoFish - 2012-11-03

(2012-11-03, 04:07)Karnagious Wrote: I am having the play one song then pause problem on Raspbmc, and I have only installed the fixed version.

Any help?

Make sure you only have one version installed. I found 2 different Pandora plugins in my addons directory. Check the pandaplay.py file for the fixed code to be sure you have the fixed version. Need more detail? What OS are you running?


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

Anyone know what's going on with my setup?

(2012-10-27, 03:31)baggar11 Wrote: Hmm, I've uninstalled, deleted all the addon contents and tried reinstalling. My script doesn't run anymore. Here's my output.

18:21:31 T:62571520 NOTICE: -->Python Interpreter Initialized<--
18:21:31 T:62571520 NOTICE: PANDORA: Initializing v1.2.10
18:21:31 T:62571520 NOTICE: PANDORA: sys.platform = darwin
18:21:32 T:62571520 NOTICE: PANDORA: Loading key from file "/Users/frontrow/Library/Application Support/XBMC/userdata/addon_data/script.xbmc.pandora/key_in"
18:21:32 T:62571520 NOTICE: PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/json/src/libpiano/crypt_key_input.h"
18:21:32 T:62571520 ERROR: Error Type: <type 'exceptions.AttributeError'>
18:21:32 T:62571520 ERROR: Error Contents: 'HTTPError' object has no attribute 'reason'
18:21:32 T:62571520 ERROR: Traceback (most recent call last):
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/default.py", line 248, in <module>
panda = Panda()
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/default.py", line 63, in __init__
self.pandora = Pandora( dataDir, fmt )
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/libpandora/pandora.py", line 34, in __init__
if not self.keys.loadKeys():
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/libpandora/keys.py", line 44, in loadKeys
"crypt_key_input.h" )
File "/Users/frontrow/Library/Application Support/XBMC/addons/script.xbmc.pandora/libpandora/keys.py", line 124, in _loadKeyFromURL
print "PANDORA: URLError: %s" %e.reason
AttributeError: 'HTTPError' object has no attribute 'reason'




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

(2012-11-03, 16:20)SorryGoFish Wrote: Make sure you only have one version installed. I found 2 different Pandora plugins in my addons directory. Check the pandaplay.py file for the fixed code to be sure you have the fixed version. Need more detail? What OS are you running?

Thanks for the reply. I definitely only have a single version installed as I did a fresh install on a new card. Will check the code for the fix at next opportunity to make sure nothing has gotten crossed.

I am using Raspbmc, which is based on Debian. It uses Frodo rather than Eden, so the issue may be related to that.
__________________________________________________________________________________________________________________________________________
Edit: Confirmed correct version; text matches fix. Issue persists.


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

Well, nevermind on my xbmc.log output. I was able to get the script installed after the 10th time. The behavior of the script doesn't seem to be all that stable though. At most I can get about 3 songs to play in a row before it goes to the main menu. Upon restarting, it's hit or miss if it'll go immediately to the main menu again. Would it help to provide another xbmc.log post?