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)



Where is the error log - rashid420 - 2011-12-18

spbogie Wrote:Perhaps it would be useful to provide one then...

http://pastebin.com/uLP5Ebga

Thanks much!


- woodyearl - 2011-12-18

spbogie Wrote:Perhaps it would be useful to provide one then...
Yeah. but Im not complaining or wanting a fix. just informing that sometimes mine doesnt work. Right now its working and Im lovin it. Thanks for all your hard work.
Merry xmas.


- NOT_U - 2011-12-20

@spbogie and whoever else has worked on this....

THANK YOU!!

Installed 1.2.9, refetched keys and works like a charm on 10.1 XP


- Jorge18 - 2011-12-20

I updated to the latest release and still getting the same errors. I tried updating the keys, restarting the system and it worked once, and then started giving me the error again.

Here's the error in the log.

Code:
18:07:30 T:2781870960 M:3190829056  NOTICE: -->Python Interpreter Initialized<--
18:07:30 T:2781870960 M:3190829056  NOTICE: PANDORA: Initializing v1.2.9
18:07:30 T:2781870960 M:3190829056  NOTICE: PANDORA: sys.platform = linux2
18:07:30 T:2781870960 M:3190820864  NOTICE: PANDORA: Loading key from file "/storage/.xbmc/userdata/addon_data/script.xbmc.pandora/key_in"
18:07:30 T:2781870960 M:3190820864  NOTICE: PANDORA: Loading key from file "/storage/.xbmc/userdata/addon_data/script.xbmc.pandora/key_out"
18:07:30 T:2781870960 M:3190820864   ERROR: Error Type: <class 'urllib2.URLError'>
18:07:30 T:2781870960 M:3190820864   ERROR: Error Contents: <urlopen error _ssl.c:312: Invalid SSL protocol variant specified.>
18:07:30 T:2781870960 M:3190820864   ERROR: Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.xbmc.pandora/default.py", line 248, in <module>
                                                panda = Panda()
                                              File "/storage/.xbmc/addons/script.xbmc.pandora/default.py", line 80, in __init__
                                                self.pandora.sync()
                                              File "/storage/.xbmc/addons/script.xbmc.pandora/libpandora/pandora.py", line 59, in sync
                                                u = urllib2.urlopen( reqUrl, enc )
                                              File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
                                                return _opener.open(url, data, timeout)
                                              File "/usr/lib/python2.6/urllib2.py", line 391, in open
                                                response = self._open(req, data)
                                              File "/usr/lib/python2.6/urllib2.py", line 409, in _open
                                                '_open', req)
                                              File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.6/urllib2.py", line 1178, in https_open
                                                return self.do_open(httplib.HTTPSConnection, req)
                                              File "/usr/lib/python2.6/urllib2.py", line 1145, in do_open
                                                raise URLError(err)
                                            URLError: <urlopen error _ssl.c:312: Invalid SSL protocol variant specified.>



- spbogie - 2011-12-20

rashid420,
Unfortunately, I'm afraid I can't do much to support the Xbox myself. If anyone else with an Xbox and python experience is willing to work on fixing this I would be happy to merge in the changes as long as they don't break other platforms.

Jorge18,
Do you happen to be using a proxy? From the directory structure I'm guessing ATV2, is this correct?


- mrdally204 - 2011-12-20

Easy fix for Xbox. FTP into your box and get to UserData folder. Create folder called "addon_data". Inside that, make folder called "script.xbmc.pandora"

spbogie, not sure if you can include the creation of these folders in the zip but that will allow Pandora to load and play on the Xbox!


- Khan - 2011-12-20

First off...a *BIG* thank you to spbogie. Your hard work is GREATLY appreciated. Now on to a question...is anyone else having issues with the thumbs up\down keys no longer working? Not sure what's the story...they worked perfectly with v 1.2.5 which is the last version I was using. I am currently using Transparency for the skin. Any help would be greatly appreciated.

Thanks,

-K


- spbogie - 2011-12-20

Xbmc should be creating the addon_data/script.xbmc.pandora folder when it saves the addon settings, so I don't know why it isn't on the Xbox.

I'm not sure about the Thumbs Up/Down buttons. If they're not working for anyone then maybe Pandora made some changes to the protocol. I can take a look later to see what's up.


- Khan - 2011-12-20

spbogie Wrote:Xbmc should be creating the addon_data/script.xbmc.pandora folder when it saves the addon settings, so I don't know why it isn't on the Xbox.

I'm not sure about the Thumbs Up/Down buttons. If they're not working for anyone then maybe Pandora made some changes to the protocol. I can take a look later to see what's up.

Ok, I need to apologize for that previous statement....the thumbs up\down actually work. What's not working is that when I click on those options, the buttons dont stay highlighted so I can't tell if I did click thumbs up. This used to work on version 1.2.5 under Ubuntu 10.04. Hope that makes more sense. BTW, I really liked the skin in v1.2.5 since it used my Goom visual in the background.

Thanks,

-K


- Quicksilver2002 - 2011-12-21

Quicksilver2002 Wrote:Hey guys,
So I went to listen to Pandora today and received a log in auth error. So I came to this post, and started reading from the last post. People were talking about the "Re-Fetch Keys" so I did that and then received the error "unable to load keys". I then noticed 1.2.9 was out so I deleted my current add-on and the addon_data folder, then downloaded 1.2.9 and when I try to log in, I still keep getting the "Unable to load keys" error.....can someone help me out?

I'm running XBMC on Windows 7

Here is my log

22:17:17 T:3244 M:1261568000 NOTICE: PANDORA: Initializing v1.2.9
22:17:17 T:3244 M:1261568000 NOTICE: PANDORA: sys.platform = win32
22:17:19 T:3244 M:1257529344 NOTICE: PANDORA: Loading key from file "C:\Users\Media Center\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.pandora\key_in"
22:17:19 T:3244 M:1257529344 NOTICE: PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h"
22:18:35 T:3244 M:1412780032 NOTICE: PANDORA: URLError: (8, 'EOF occurred in violation of protocol')
22:18:35 T:3244 M:1412780032 NOTICE: PANDORA: No valid Input key


- Quicksilver2002 - 2011-12-21

okay...just an update....I read on here that you are suppose to quite XBMC after you Fetch new keys so thats whats Ive been doing. This time I fetched new keys and then tried running the add on and it let me right in.


Stops after 4 songs - friedfarmer - 2011-12-22

I've been having a problem with v1.2.9
It will play exactly 4 songs in any channel then it stops until I select a channel again.
This was not occuring when v1.2.8 was working. Any ideas?

Windows 7
latest nightly xbmc build


- ktjensen - 2011-12-23

Using 1.2.9 on Apple TV2 via XBMC. It works. But have to restart all of XBMC to get it to work. Doing further testing to see if it will play for a while. Am using the official release of XBMC for the Apple TV 2. Whatever that version is.

Anyone know how to fix the screensaver settings in XBMC. So that the CD COVER will display during screen saver? I seem to not be doing that.

Thanks SPBOGIE for having this work.


- Jorge18 - 2011-12-23

spbogie Wrote:Jorge18,
Do you happen to be using a proxy? From the directory structure I'm guessing ATV2, is this correct?

No, I'm not using a proxy, and this is running on a box using OpenELEC.


Eden Beta - OK - thewarm - 2011-12-26

V1.29 works for me using the newly released beta of Eden!

I clicked on the refetch keys... script failed. Works anyway!