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)



- Shalun - 2011-09-06

It's under Pandora from Music then Music addons. Navigation may be effected by which skin you are using, but look for it under Music.


- joeshmoe - 2011-09-06

Works great. Thanks.


- MaRINoL - 2011-09-08

Hello-

I've updated to 1.25 on my ATV2 & it is my understanding that the random crashes were thought to have been fixed. It is my experience that Pandora is still crashing on my ATV2 running the Sept. 5th nightly. Here is my log:

http://pastebin.com/RXiKCerT

Thank You


- garbear - 2011-09-08

The keys will need to be refreshed. Try forcing a refresh in the addon's settings from the addon manager, and if that doesn't work delete the script.pandora.xbmc folder in user_data/addon_data.


- mrfatboy - 2011-09-11

Hey guys,

I'm on Win 7x64 Darma 10.1 stable with latest Pandora script. I never had any problem before today as it has always worked perfectly for me.

Not today. Pandora says "loading script.." then "Error: Unable to load keys". I have tried deleting the userdata/addon_data/script.xbmc.pandora file. I have also tried to a force refresh of keys in the Pandora config section.

Both don't work.

Is Pandora down or did something mysteriously happen to my xbmc system overnight?





EDIT:
After deleting the Pandora script and addon data, I rebooted and reinstalled 1.2.5. Now I'm getting Failed to authenticate listener. The username/password is correct and has be reentered several time to make sure. I can log into Pandora with chrome with the same credentials no problem. I'm still baffled. Any ideas?


- mrfatboy - 2011-09-11

Well, I did a quick install of xbmc and the pandora 1.2.5 script on another win 7 machine. The pandora script worked fine so it has to be something with my Acer XBMC machine.

Here is the log file. I see an Error but I have no idea what it means or what to do about it.

Code:
16:49:19 T:4716 M:831111168   DEBUG: CApplication::ExecuteXBMCAction : Translating $INFO[Skin.String(Menu_Custom1_Path)]
16:49:19 T:4716 M:831066112   DEBUG: CApplication::ExecuteXBMCAction : To RunScript(script.xbmc.pandora,return)
16:49:19 T:4716 M:830844928    INFO: initializing python engine.
16:49:19 T:4716 M:830844928   DEBUG: new python thread created. id=2
16:49:19 T:4028 M:830861312   DEBUG: thread start, auto delete: 0
16:49:19 T:4028 M:830861312   DEBUG: Python thread: start processing
16:49:19 T:4028 M:830783488   DEBUG:   msg: 'import site' failed; use -v for traceback
16:49:19 T:4028 M:830783488  NOTICE: -->Python Interpreter Initialized<--
16:49:19 T:4028 M:830783488   DEBUG: XBPyThread::Process - The source file to load is C:\Users\acer\AppData\Roaming\XBMC\addons\script.xbmc.pandora\default.py
16:49:19 T:4028 M:830783488   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\acer\AppData\Roaming\XBMC\addons\script.xbmc.pandora;C:\Users\acer\AppData\Roaming\XBMC\addons\script.module.demjson\lib;C:\Users\acer\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\acer\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files (x86)\XBMC
16:49:19 T:4028 M:830783488   DEBUG: XBPyThread::Process - Entering source directory C:\Users\acer\AppData\Roaming\XBMC\addons\script.xbmc.pandora
16:49:20 T:4028 M:827625472  NOTICE: PANDORA: Initializing v1.2.5
16:49:20 T:4028 M:828100608  NOTICE: PANDORA: sys.platform = win32
16:49:20 T:4028 M:828096512    INFO: Loading skin file: DialogProgress.xml
16:49:20 T:4028 M:831315968   DEBUG: ------ Window Init (DialogProgress.xml) ------
16:49:20 T:4028 M:830976000   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
16:49:20 T:4028 M:830976000   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\pyexpat.pyd)
16:49:21 T:4028 M:830922752  NOTICE: PANDORA: Loading key from file "C:\Users\acer\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.pandora\key_in"
16:49:21 T:4028 M:830873600  NOTICE: PANDORA: Loading key from file "C:\Users\acer\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.pandora\key_out"
16:49:22 T:4028 M:830193664   DEBUG: ------ Window Init (DialogProgress.xml) ------
16:49:22 T:4028 M:830046208  NOTICE: Error:
16:49:22 T:4028 M:830046208  NOTICE: com.savagebeast.radio.api.protocol.xmlrpc.RadioXmlRpcException: 192.168.160.148|1315698614302|OUT_OF_SYNC|You have no chance to survive make your time.
16:49:22 T:4028 M:830046208  NOTICE: Code:
16:49:22 T:4028 M:830066688  NOTICE: 1
16:49:22 T:4028 M:830107648    INFO: Loading skin file: DialogYesNo.xml
16:49:22 T:4716 M:830119936   DEBUG: ------ Window Init (DialogYesNo.xml) ------
16:49:23 T:4716 M:830554112   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
16:49:30 T:4716 M:831397888   DEBUG: CWinEventsWin32::WndProcWindow is active
16:49:30 T:4716 M:831406080   DEBUG: CWinEventsWin32::WndProcWindow lost focus



- mrfatboy - 2011-09-11

Another update.

I have totally uninstalled XBMC and the user profile folders. All of my hard work setting it up gone Sad

I then reinstalled XBMC and added the Pandora 1.2.5 plugin. Same problem. I even tried a different pandora account. Still gives "Failed to authenticate listener." error.

Can anybody give me a idea what the Error is about in the about post?


Pandora dosent play in the background? - Greg7777777 - 2011-09-11

I am using the Aeon Nox skin on win 7, and the pandora script works perfectly but i wont play in the background like when i want to scroll through other menus on xbmc. Is there actually a way to make this run in the background or no?


- mrfatboy - 2011-09-11

Greg7777777 Wrote:I am using the Aeon Nox skin on win 7, and the pandora script works perfectly but i wont play in the background like when i want to scroll through other menus on xbmc. Is there actually a way to make this run in the background or no?

It doesn't play in the background.


- Greg7777777 - 2011-09-12

that's soft Stare


- apex82 - 2011-09-12

Anyone got this working up in Canada without using a paid VPN?


- mrfatboy - 2011-09-12

mrfatboy Wrote:Well, I did a quick install of xbmc and the pandora 1.2.5 script on another win 7 machine. The pandora script worked fine so it has to be something with my Acer XBMC machine.

Here is the log file. I see an Error but I have no idea what it means or what to do about it.

Code:
16:49:19 T:4716 M:831111168   DEBUG: CApplication::ExecuteXBMCAction : Translating $INFO[Skin.String(Menu_Custom1_Path)]
16:49:19 T:4716 M:831066112   DEBUG: CApplication::ExecuteXBMCAction : To RunScript(script.xbmc.pandora,return)
16:49:19 T:4716 M:830844928    INFO: initializing python engine.
16:49:19 T:4716 M:830844928   DEBUG: new python thread created. id=2
16:49:19 T:4028 M:830861312   DEBUG: thread start, auto delete: 0
16:49:19 T:4028 M:830861312   DEBUG: Python thread: start processing
16:49:19 T:4028 M:830783488   DEBUG:   msg: 'import site' failed; use -v for traceback
16:49:19 T:4028 M:830783488  NOTICE: -->Python Interpreter Initialized<--
16:49:19 T:4028 M:830783488   DEBUG: XBPyThread::Process - The source file to load is C:\Users\acer\AppData\Roaming\XBMC\addons\script.xbmc.pandora\default.py
16:49:19 T:4028 M:830783488   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\acer\AppData\Roaming\XBMC\addons\script.xbmc.pandora;C:\Users\acer\AppData\Roaming\XBMC\addons\script.module.demjson\lib;C:\Users\acer\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\acer\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files (x86)\XBMC
16:49:19 T:4028 M:830783488   DEBUG: XBPyThread::Process - Entering source directory C:\Users\acer\AppData\Roaming\XBMC\addons\script.xbmc.pandora
16:49:20 T:4028 M:827625472  NOTICE: PANDORA: Initializing v1.2.5
16:49:20 T:4028 M:828100608  NOTICE: PANDORA: sys.platform = win32
16:49:20 T:4028 M:828096512    INFO: Loading skin file: DialogProgress.xml
16:49:20 T:4028 M:831315968   DEBUG: ------ Window Init (DialogProgress.xml) ------
16:49:20 T:4028 M:830976000   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
16:49:20 T:4028 M:830976000   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\pyexpat.pyd)
16:49:21 T:4028 M:830922752  NOTICE: PANDORA: Loading key from file "C:\Users\acer\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.pandora\key_in"
16:49:21 T:4028 M:830873600  NOTICE: PANDORA: Loading key from file "C:\Users\acer\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.pandora\key_out"
16:49:22 T:4028 M:830193664   DEBUG: ------ Window Init (DialogProgress.xml) ------
16:49:22 T:4028 M:830046208  NOTICE: Error:
16:49:22 T:4028 M:830046208  NOTICE: com.savagebeast.radio.api.protocol.xmlrpc.RadioXmlRpcException: 192.168.160.148|1315698614302|OUT_OF_SYNC|You have no chance to survive make your time.
16:49:22 T:4028 M:830046208  NOTICE: Code:
16:49:22 T:4028 M:830066688  NOTICE: 1
16:49:22 T:4028 M:830107648    INFO: Loading skin file: DialogYesNo.xml
16:49:22 T:4716 M:830119936   DEBUG: ------ Window Init (DialogYesNo.xml) ------
16:49:23 T:4716 M:830554112   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
16:49:30 T:4716 M:831397888   DEBUG: CWinEventsWin32::WndProcWindow is active
16:49:30 T:4716 M:831406080   DEBUG: CWinEventsWin32::WndProcWindow lost focus




Big GrinBig Grin

Unbelievable! I found the problem and it was so simple! Some of you may have heard that last Thursday Southern California, Arizona and Mexico had a major power outage. My XBMC computer was affected and got glitched (it was on when the power went out). The glitch made the computer's clock go to 9/12/2000. Stare I didn't even notice it.

I just reset the clock and all is well again.


Big GrinBig Grin


- Matt_123 - 2011-09-12

Great plugin, works awesome and thanks!

Is there a way to map this plugin directly to a button press in the remote.xml file? For example, when I press My Movies on the remote now it calls ActivateWindow(Videos,MovieTitles), bringing the movie title list up on screen. Can I do the same for Pandora?

Thanks!

EDIT just saw this is possible by calling "RunAddon(script.xbmc.pandora)", sorry!


- Livin - 2011-09-13

Script crashes for me

After I did the install and ran the config (which went fine) it ran only once but never showed anything but the bare Pandora screen with the logo, etc.

LOG...

Quote:21:09:50 T:5068 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
21:09:50 T:5068 M:4294967295 NOTICE: PANDORA: Initializing v1.2.5
21:09:50 T:5068 M:4294967295 NOTICE: PANDORA: sys.platform = win32
21:09:50 T:5068 M:4294967295 WARNING: Skin has invalid include: debug
21:09:50 T:5068 M:4294967295 NOTICE: PANDORA: Loading key from file "C:\Users\ha\Documents\XBMC\portable_data\userdata\addon_data\script.xbmc.pandora\key_in"
21:09:50 T:5068 M:4294967295 NOTICE: PANDORA: Unexpected error:<type 'exceptions.ValueError'>:insecure string pickle
21:09:50 T:5068 M:4294967295 ERROR: Error Type: <type 'exceptions.ValueError'>
21:09:50 T:5068 M:4294967295 ERROR: Error Contents: insecure string pickle
21:09:50 T:5068 M:4294967295 ERROR: Traceback (most recent call last):
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\default.py", line 235, in <module>
panda = Panda()
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\default.py", line 60, in __init__
self.pandora = Pandora( dataDir, fmt )
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\libpandora\pandora.py", line 33, in __init__
if not self.keys.loadKeys():
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\libpandora\keys.py", line 39, in loadKeys
"key_in" ) )
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\libpandora\keys.py", line 103, in _loadKeyFromFile
tmp = pickle.load( f )
File "C:\Users\ha\Documents\XBMC\system\python\Lib\pickle.py", line 1370, in load
return Unpickler(file).load()
File "C:\Users\ha\Documents\XBMC\system\python\Lib\pickle.py", line 858, in load
dispatch[key](self)
File "C:\Users\ha\Documents\XBMC\system\python\Lib\pickle.py", line 966, in load_string
raise ValueError, "insecure string pickle"
ValueError: insecure string pickle
21:09:52 T:4912 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
21:09:52 T:4912 M:4294967295 NOTICE: PANDORA: Initializing v1.2.5
21:09:52 T:4912 M:4294967295 NOTICE: PANDORA: sys.platform = win32
21:09:52 T:4912 M:4294967295 WARNING: Skin has invalid include: debug
21:09:52 T:4912 M:4294967295 NOTICE: PANDORA: Loading key from file "C:\Users\ha\Documents\XBMC\portable_data\userdata\addon_data\script.xbmc.pandora\key_in"
21:09:52 T:4912 M:4294967295 NOTICE: PANDORA: Unexpected error:<type 'exceptions.ValueError'>:insecure string pickle
21:09:52 T:4912 M:4294967295 ERROR: Error Type: <type 'exceptions.ValueError'>
21:09:52 T:4912 M:4294967295 ERROR: Error Contents: insecure string pickle
21:09:52 T:4912 M:4294967295 ERROR: Traceback (most recent call last):
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\default.py", line 235, in <module>
panda = Panda()
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\default.py", line 60, in __init__
self.pandora = Pandora( dataDir, fmt )
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\libpandora\pandora.py", line 33, in __init__
if not self.keys.loadKeys():
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\libpandora\keys.py", line 39, in loadKeys
"key_in" ) )
File "C:\Users\ha\Documents\XBMC\portable_data\addons\script.xbmc.pandora\libpandora\keys.py", line 103, in _loadKeyFromFile
tmp = pickle.load( f )
File "C:\Users\ha\Documents\XBMC\system\python\Lib\pickle.py", line 1370, in load
return Unpickler(file).load()
File "C:\Users\ha\Documents\XBMC\system\python\Lib\pickle.py", line 858, in load
dispatch[key](self)
File "C:\Users\ha\Documents\XBMC\system\python\Lib\pickle.py", line 966, in load_string
raise ValueError, "insecure string pickle"
ValueError: insecure string pickle
21:09:56 T:4448 M:4294967295 NOTICE: -->Python Interpreter Initialized<--



- htpc guy - 2011-09-13

Livin Wrote:Script crashes for me

After I did the install and ran the config (which went fine) it ran only once but never showed anything but the bare Pandora screen with the logo, etc.

LOG...

Try updating the keys. Also the latest git build fixed an encode issue with the keys.