[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
Jorge18 Offline
Member
Posts: 55
Joined: Jan 2011
Reputation: 0
Post: #931
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<--
find quote
macf1an Offline
Senior Member
Posts: 273
Joined: Aug 2011
Reputation: 0
Post: #932
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.

ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
(This post was last modified: 2011-11-27 15:23 by macf1an.)
find quote
mwkurt Offline
Posting Freak
Posts: 973
Joined: Mar 2010
Reputation: 9
Post: #933
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
find quote
Eyefro69 Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Location: Columbia, SC
Post: #934
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.

TV: Magnavox 37" LCD AVR: Harmon Kardon AVR635
HTPC: Old AMD x4,8GB RAM, OCZ Vertex 60 GB, WD 1 TB
XBMC: Eden BetaV2 Skin: Neon


[Image: watched-fanart.jpg]
find quote
Dixon Butz Offline
Fan
Posts: 395
Joined: Dec 2010
Reputation: 2
Location: Earth USA
Post: #935
Delete the pandora folder from addons. Delete the pandora folder in addon_data. Reinstall 1.28 on first page. Fixt
find quote
deh2k7 Offline
Member+
Posts: 384
Joined: Dec 2008
Reputation: 5
Post: #936
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?
find quote
deh2k7 Offline
Member+
Posts: 384
Joined: Dec 2008
Reputation: 5
Post: #937
Bump, any thoughts on the above error?
find quote
spbogie Offline
Skilled Python Coder
Posts: 124
Joined: Oct 2009
Reputation: 5
Post: #938
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?
find quote
deh2k7 Offline
Member+
Posts: 384
Joined: Dec 2008
Reputation: 5
Post: #939
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!
find quote
deh2k7 Offline
Member+
Posts: 384
Joined: Dec 2008
Reputation: 5
Post: #940
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!
find quote
Post Reply