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)



- Jorge18 - 2011-11-26

Having an issue, trying to run the script but get an error. Only happens sometimes, other times it works perfectly fine...can anyone help?

Code:
15:38:11 T:2645551984 M:3137089536   DEBUG: Python thread: start processing
15:38:11 T:2645551984 M:3136962560  NOTICE: -->Python Interpreter Initialized<--
15:38:11 T:2645551984 M:3136962560   DEBUG: Process - The source file to load is /storage/.xbmc/addons/script.xbmc.pandora/default.py
15:38:11 T:2645551984 M:3136962560   DEBUG: Process - Setting the Python path to /storage/.xbmc/addons/script.xbmc.pandora:/storage/.xbmc/addons/script.module.simplejson/lib:/storage/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/usr/lib/python26.zip:/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload
15:38:11 T:2645551984 M:3136962560   DEBUG: Process - Entering source directory /storage/.xbmc/addons/script.xbmc.pandora
15:38:11 T:2645551984 M:3136962560  NOTICE: PANDORA: Initializing v1.2.8
15:38:11 T:2645551984 M:3136962560  NOTICE: PANDORA: sys.platform = linux2
15:38:11 T:2645551984 M:3136962560    INFO: Loading skin file: DialogProgress.xml
15:38:11 T:2645551984 M:3136962560   DEBUG: ------ Window Init (DialogProgress.xml) ------
15:38:11 T:2645551984 M:3136954368  NOTICE: PANDORA: Loading key from file "/storage/.xbmc/userdata/addon_data/script.xbmc.pandora/key_in"
15:38:12 T:2645551984 M:3136954368  NOTICE: PANDORA: Loading key from file "/storage/.xbmc/userdata/addon_data/script.xbmc.pandora/key_out"
15:38:12 T:2645551984 M:3136954368    INFO: -->Python script returned the following error<--
15:38:12 T:2645551984 M:3136954368   ERROR: Error Type: <class 'urllib2.URLError'>
15:38:12 T:2645551984 M:3136954368   ERROR: Error Contents: <urlopen error _ssl.c:312: Invalid SSL protocol variant specified.>
15:38:12 T:2645551984 M:3136954368   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 55, 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.>
15:38:12 T:2645551984 M:3136954368    INFO: -->End of Python script error report<--



- macf1an - 2011-11-27

just try to start pandora within the first minute after launching xbmc

Edit: has anyone else experienced this with 1.2.8 - the playing stops every two songs until you press a key on the remote..my setup is in the signature.


- mwkurt - 2011-12-02

Hello,

Trying Pandora and having a bit of a problem. I have an account on Pandora and can enter my email and password using the website, but whenever I try to enter my email and password using The Pandora plugin, I get the following error message "Pandora Failed to authenticate listener check username/password and try again"
I am entering the same stuff that gets me on the website but no go here.
Has anyone had this problem?
I am using Dharma 10.1 with windows 7

Thanks,
Mark


- Eyefro69 - 2011-12-03

mwkurt Wrote:Hello,

Trying Pandora and having a bit of a problem. I have an account on Pandora and can enter my email and password using the website, but whenever I try to enter my email and password using The Pandora plugin, I get the following error message "Pandora Failed to authenticate listener check username/password and try again"
I am entering the same stuff that gets me on the website but no go here.
Has anyone had this problem?
I am using Dharma 10.1 with windows 7

Thanks,
Mark

Yes, I have been having this same problem, just have'nt gotten around to posting a log, or trying to fix, But I am running the same platform.


- Dixon Butz - 2011-12-03

Delete the pandora folder from addons. Delete the pandora folder in addon_data. Reinstall 1.28 on first page. Fixt


- deh2k7 - 2011-12-07

I had pandora working until a few days ago. When it stopped working, I uninstalled, deleted the pandora folders, and then reinstalled from the addon posted on the first page.

I'm still unable to play music unfortunately (I can see all of my radio stations however).

Here is a snippet from the logs:

Code:
17:02:22 T:824   ERROR: Exception in python script callback execution
17:02:22 T:824   ERROR: Traceback (most recent call last):
17:02:22 T:824   ERROR:   File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\script.xbmc.pandora\pandagui.py", line 64, in onClick
17:02:22 T:824   ERROR: self.panda.playStation( selItem.getProperty("stationId") )
17:02:22 T:824   ERROR:   File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\script.xbmc.pandora\default.py", line 120, in playStation
17:02:22 T:824   ERROR: self.getMoreSongs()
17:02:22 T:824   ERROR:   File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\script.xbmc.pandora\default.py", line 131, in getMoreSongs
17:02:22 T:824   ERROR: fragment = self.pandora.getFragment( self.curStation )
17:02:22 T:824   ERROR:   File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\script.xbmc.pandora\libpandora\pandora.py", line 116, in getFragment
17:02:22 T:824   ERROR: parsed = xmlrpclib.loads( resp )[0][0]
17:02:22 T:824   ERROR:   File "C:\Program Files (x86)\XBMC\system\python\Lib\xmlrpclib.py", line 1184, in loads
17:02:22 T:824   ERROR: return u.close(), u.getmethodname()
17:02:22 T:824   ERROR:   File "C:\Program Files (x86)\XBMC\system\python\Lib\xmlrpclib.py", line 838, in close
17:02:22 T:824   ERROR: raise Fault(**self._stack[0])
17:02:22 T:824   ERROR: xmlrpclib
17:02:22 T:824   ERROR: .
17:02:22 T:824   ERROR: Fault
17:02:22 T:824   ERROR: :
17:02:22 T:824   ERROR: <Fault 1: 'com.savagebeast.radio.api.protocol.xmlrpc.RadioXmlRpcException: 192.168.160.184|1323208944804|LISTENER_NOT_AUTHORIZED|context: com.savagebeast.radio.api.InternalApiRequestor@2ac7fd10[authenticatedListener.id=73217512] not authorized to play music'>

Any thoughts on what could be causing this error?


- deh2k7 - 2011-12-08

Bump, any thoughts on the above error?


- spbogie - 2011-12-08

deh2k7,
Do you happen to have a Pandora One subscription? I've seen similar reports for other third party clients when a One subscription runs out. Log in to Pandora through your browser so it can check your subscription status, and then try the plugin again. If this isn't it then I'll have to dig in and take a closer look.

Is anyone else having this issue?


- deh2k7 - 2011-12-08

Good catch spbogie. I had a Pandora One trial. I was being prompted to renew or revert back to free service. I haven't verified on my XBMC but I bet that fixes the problem!


- deh2k7 - 2011-12-09

spbogie Wrote:deh2k7,
Do you happen to have a Pandora One subscription? I've seen similar reports for other third party clients when a One subscription runs out. Log in to Pandora through your browser so it can check your subscription status, and then try the plugin again. If this isn't it then I'll have to dig in and take a closer look.

Is anyone else having this issue?

This fixed it. Thank you!


Failed to authenticate - roc4fun - 2011-12-10

My version 1.2.8 started acting up this morning. Was fine yesterday. I suppose it's Pandora doing something in the background.

I'm also getting a failure with refetch.py

On a whim I tried changing the protocol number to 34. Didn't help.

Anybody else?


- TechLife - 2011-12-10

Yep. Worked fine last night. Not this morning... =(

Log: http://pastebin.com/9wcDUAJd


- jbeamz - 2011-12-10

Ditto, all of a sudden today it doesn't work. Can't auth...


- sabosan - 2011-12-10

Just reinstalled from v1.0.0 to 1.2.8 to find out it's broken again. Good work though, I like the new skin.

For roc4fun: Protocol appears to still be v33 according to the Pandora WebApp. I'm assuming it's something with the keys from libpiano as pianobar appears to be broken too.


- sabosan - 2011-12-10

scratch that, git version of pianobar seems to work just fine