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)



- Zatch - 2011-07-14

spbogie Wrote:I'm going to need to spend some more time figuring out the quirks of xbmc on iOS devices (difficult when I don't have one).

spbogie, do you have a paypal account? I bet there are folks in the community who would help you come up with the $100 for an ATV2 if you're dedicated to making the app work for us. ^^


- spbogie - 2011-07-14

ATV2/OSX users, please run the following version and report back with a log. I only need 1 or 2 logs, no need for everyone to run it. (removed to avoid confusion)This version won't fix anything, just print some missing pieces of information that will hopefully lead me to a solution.

Edit: Removed link to avoid confusion


- dallasnights - 2011-07-14

Here ya go ran it this morning, my time is off on my xbmc I know, anyhow, on ATV 10.09 good luck!

10:58:42 T:170528768 M:106909696 DEBUG: ExecuteXBMCAction : Translating RunScript("script.xbmc.pandora")
10:58:42 T:170528768 M:106909696 DEBUG: ExecuteXBMCAction : To RunScript("script.xbmc.pandora")
10:58:42 T:170528768 M:106909696 INFO: initializing python engine.
10:58:42 T:170528768 M:106909696 DEBUG: PYTHONHOME -> /Applications/XBMC.frappliance/Frameworks/
10:58:42 T:170528768 M:106909696 DEBUG: PYTHONPATH -> /Applications/XBMC.frappliance/Frameworks/
10:58:43 T:170528768 M:107143168 DEBUG: new python thread created. id=2
10:58:43 T:203022336 M:107139072 DEBUG: Thread XBPyThread start, auto delete: 0
10:58:43 T:203022336 M:107139072 DEBUG: Python thread: start processing
10:58:43 T:170528768 M:107139072 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:43 T:170528768 M:107114496 DEBUG: Previous line repeats 1 times.
10:58:43 T:170528768 M:107114496 DEBUG: ------ Window Deinit (DialogFavourites.xml) ------
10:58:43 T:170528768 M:108572672 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:43 T:203022336 M:108535808 DEBUG: Previous line repeats 5 times.
10:58:43 T:203022336 M:108535808 NOTICE: -->Python Interpreter Initialized<--
10:58:43 T:203022336 M:108535808 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py
10:58:43 T:170528768 M:108539904 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:43 T:203022336 M:108539904 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.mechanize/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.cryptopy/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.web.viewer/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/Applications/XBMC.frappliance/Frameworks:/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
10:58:43 T:203022336 M:108539904 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora
10:58:43 T:203022336 M:108539904 DEBUG: Instantiating addon using automatically obtained id of "script.xbmc.pandora" dependent on version 1.0 of the xbmc.python api
10:58:43 T:203022336 M:108535808 INFO: Loading skin file: DialogProgress.xml
10:58:43 T:170528768 M:108535808 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:43 T:203022336 M:108531712 DEBUG: Previous line repeats 1 times.
10:58:43 T:203022336 M:108531712 DEBUG: DialogProgress::StartModal called
10:58:43 T:203022336 M:108531712 DEBUG: ------ Window Init (DialogProgress.xml) ------
10:58:43 T:170528768 M:108400640 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:46 T:203022336 M:107220992 DEBUG: Previous line repeats 67 times.
10:58:46 T:203022336 M:107220992 NOTICE: PANDORA: Translated Data Dir: "/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.pandora/"
10:58:46 T:203022336 M:107216896 NOTICE: PANDORA: Loading key from file "special://profile/addon_data/script.xbmc.pandora/key_in"
10:58:46 T:203022336 M:107216896 NOTICE: PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h"
10:58:46 T:170528768 M:107204608 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:46 T:203022336 M:107200512 DEBUG: Previous line repeats 18 times.
10:58:46 T:203022336 M:107200512 NOTICE: PANDORA: Loading key from file "special://profile/addon_data/script.xbmc.pandora/key_out"
10:58:46 T:203022336 M:107200512 NOTICE: PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_output.h"
10:58:46 T:170528768 M:107196416 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:47 T:203022336 M:107196416 DEBUG: Previous line repeats 10 times.
10:58:47 T:203022336 M:107196416 NOTICE: PANDORA: Saving keys
10:58:47 T:203022336 M:107196416 NOTICE: PANDORA: dataDir = "special://profile/addon_data/script.xbmc.pandora/"
10:58:47 T:203022336 M:107196416 NOTICE: PANDORA: dataDir.isDir? False
10:58:47 T:203022336 M:107196416 INFO: -->Python script returned the following error<--
10:58:47 T:203022336 M:107196416 ERROR: Error Type: <type 'exceptions.IOError'>
10:58:47 T:203022336 M:107196416 ERROR: Error Contents: [Errno 2] No such file or directory: 'special://profile/addon_data/script.xbmc.pandora/key_in'
10:58:47 T:203022336 M:107196416 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py", line 223, in <module>
panda = Panda()
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py", line 49, in __init__
self.pandora = Pandora( dataDir, fmt )
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/libpandora/pandora.py", line 33, in __init__
if not self.keys.loadKeys():
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/libpandora/keys.py", line 63, in loadKeys
self.saveKeys()
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/libpandora/keys.py", line 72, in saveKeys
f = open( os.path.join( self._dataDir, "key_in" ), "w" )
IOError: [Errno 2] No such file or directory: 'special://profile/addon_data/script.xbmc.pandora/key_in'
10:58:47 T:203022336 M:107196416 INFO: -->End of Python script error report<--
10:58:47 T:170528768 M:107196416 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:47 T:170528768 M:107192320 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
10:58:47 T:170528768 M:106971136 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:47 T:203022336 M:103108608 DEBUG: Previous line repeats 2 times.
10:58:47 T:203022336 M:103108608 INFO: Python script stopped
10:58:47 T:203022336 M:103108608 DEBUG: Thread Python Thread 203022336 terminating
10:58:47 T:170528768 M:103108608 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
10:58:47 T:170528768 M:104525824 DEBUG: waiting for python thread 2 to stop
10:58:47 T:170528768 M:104534016 DEBUG: python thread 2 destructed
10:58:47 T:170528768 M:104534016 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
10:58:53 T:170528768 M:104579072 DEBUG: Previous line repeats 105 times.
10:58:53 T:170528768 M:104579072 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------


Pandora Error on ATV2 (script.xbmc.pandora.v1.2.1.zip) - bigjsko - 2011-07-14

Hi spbogie

Here's the error I get. Let me know if I need to copy more info for you.

http://pastebin.com/t0ENaqU7

Thanks!


- jaja714 - 2011-07-14

This is a long forum topic but I did search it and cannot find a solution for my problem. I can log into Pandora from my browser, so I know my credentials are correct but I cannot log into Pandora from XMBC.

Anyone know why?


- tkarns24 - 2011-07-15

spbogie

Hey i downloaded the file as Zip and uninstalled Pandora ATV version 1.1.2 with the one you recently provided and the version is 1.0.0 . Even after i uninstalled that you and smorloc worked on i still cannot log into the system. Any advice and are we going to try to make it look as good as the one that smorloc improved


- spbogie - 2011-07-15

dallasnights, bigjsko,
Ok, so from what I'm seeing here, it appears the data directory should be "/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.pandora/". Can you please check for me whether this directory actually exists, and what permissions are set for it?

jaja714, tkarns24,
Please make sure you are running the latest version (currently 1.2.1). Uninstall the current addon, then download from the link in the first post and use install from zip. If you are still unable to connect, please post a debug log of the failed attempt (use pastebin please).


- dallasnights - 2011-07-15

yes it is there, here is the permissions

Image


- spbogie - 2011-07-15

That's the wrong folder. That's the one that the actual addon is installed in. You're looking for /var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.pandora/


- tkarns24 - 2011-07-15

Hey got it working thanks guys


- dallasnights - 2011-07-15

oops sorry here it is
Image

BTW The only file in that directory is settings.xml with my password and username

Thanks


- spbogie - 2011-07-15

Hmmm, ok well that's where it should be storing things then. If you look in the script.audio.grooveshark folder is there anything besides settings.xml in there?


- dallasnights - 2011-07-15

nope just settings.xml


- spbogie - 2011-07-16

Users getting the IOError on saving keys (ATV/OSX), please run this addon and report back with a log (removed to avoid confusion). The addon will show up under Programs -> Data Directory Test. It will run a few tests in the background and ask you to upload the log when done. Hopefully this will be the last bit of information I need to fix things.

Edit: Problem solved, removed link to avoid confusion.


- dallasnights - 2011-07-16

installed and nothing happens when I click on it, I wait for some sort of notice about upload to log nothing happens

ATV XMBC 10.09 thanks you