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)



- lunerceli - 2011-07-25

Nope, not using a proxy. I wound up having to uninstall and reinstall yesterday because it started not wanting to run the script. Kept giving me script failed. And thanks splnuts for the link. Once i put the keys in and try it, I will post with the results and an output log. Thanks for the help guys.


- lunerceli - 2011-07-25

Ok, so I downloaded the libpiano from the link that splnuts gave me, then I put the input and output files over into the script. The script fails every time at start up. Even if I uninstall and reinstall pandora. Here is the XBMC log: http://pastebin.com/FqU9uzmm


- spbogie - 2011-07-25

The key files the script saves are not in the same format as those retrieved from the pianobar project. Please remove those files and post a new log of the error.


- lunerceli - 2011-07-25

Well, I just uninstalled it and installed it again without putting any type of key in pandora. Here is the log: http://pastebin.com/bai1KvXT

Even after uninstalling and reinstalling, the script still fails to launch.


- spbogie - 2011-07-25

lunerceil,
Uninstalling appears not to have removed the data files. Please remove the directory 'C:\Users\Lunerceli\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.pandora\' and try again.


- lunerceli - 2011-07-25

spbogie,
I just did what you told me to do. I went in and deleted that folder, then I uninstalled pandora followed by a reinstall. When I went to launch the script, it failed once again to initialize. I am sorry for all the trouble....

Here is the new debug log: http://pastebin.com/CDQf7SWM

Upon reinstalling, the folder in the userdata/addon_data didn't come back. I am assuming though that is because the script isn't launching...I know looking at the log, it is showing invalid line numbers.


- spbogie - 2011-07-26

It seems you have a different profile selected now. "C:\Users\Lunerceli\AppData\Roaming\XBMC\userdata\profiles\room\addon_data\script.xbmc.pandora\" Had you tried to run pandora on this profile before as well? If so remove this folder as well and try again.

The error it is throwing is from a minor typo, but correcting it would simply cause it to fail more gracefully. (It's fixed in git but not in the release zip yet) Sooner or later we're going to get to the actual source of your problem Wink


- lunerceli - 2011-07-26

Yeah, I have tried running it from both of my profiles that I have on my XBMC. The only difference between the profiles is that one is set up for use with HDMI for when I go to work and the other one is set up for normal pc usage. For some reason, I have always had bad luck trying to run scripts...LOL


- dallasnights - 2011-07-26

spbogie new problem
Runs fine on ATV2 but you can not exit out no matter how many times I hit menu on my Remote I have to do full reboot

Here is the log
21:42:09 T:151719936 M: 89841664 NOTICE: PANDORA: Initializing v1.2.3
21:42:09 T:151719936 M: 89841664 NOTICE: PANDORA: sys.platform = darwin
21:42:09 T:151719936 M: 89841664 INFO: Loading skin file: DialogProgress.xml
21:42:09 T:151719936 M: 89841664 DEBUG: DialogProgress::StartModal called
21:42:09 T:151719936 M: 89841664 DEBUG: ------ Window Init (DialogProgress.xml) ------
21:42:13 T:151719936 M: 88793088 NOTICE: PANDORA: Loading key from file "/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.pandora/key_in"
21:42:13 T:151719936 M: 88760320 NOTICE: PANDORA: Loading key from file "/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.pandora/key_out"
21:42:14 T:151719936 M: 88735744 DEBUG: DialogProgress::StartModal called (already running)!
21:42:14 T:151719936 M: 88735744 DEBUG: ------ Window Init (DialogProgress.xml) ------
21:42:15 T:151719936 M: 88657920 ERROR: /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/pandaplayer.py:7: DeprecationWarning: object.__init__() takes no parameters
xbmc.Player.__init__( self, xbmc.PLAYER_CORE_MPLAYER )
21:42:15 T:151719936 M: 88641536 INFO: Loading skin includes from /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/skins/Default/720p/includes.xml
21:42:15 T:151719936 M: 88641536 INFO: Error loading includes.xml file (/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/skins/Default/720p/includes.xml): Failed to open file (row=0, col=0)
21:42:15 T:126365696 M: 88616960 DEBUG: ------ Window Init (/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/skins/Default/720p/script-pandora.xml) ------
21:42:15 T:126365696 M: 88612864 INFO: Loading skin file: /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/skins/Default/720p/script-pandora.xml
21:42:15 T:126365696 M: 88612864 DEBUG: unable to load /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/language/english/strings.xml: Failed to open file at line 0
21:42:15 T:151719936 M: 88494080 NOTICE: PANDORA: Window Initalized!!!
21:42:15 T:151719936 M: 88276992 DEBUG: DialogProgress::StartModal called (already running)!
21:42:15 T:151719936 M: 88276992 DEBUG: ------ Window Init (DialogProgress.xml) ------
21:42:15 T:126365696 M: 88276992 DEBUG: ExecuteXBMCAction : Translating Skin.Reset(PandoraVis)
21:42:15 T:126365696 M: 88276992 DEBUG: ExecuteXBMCAction : To Skin.Reset(PandoraVis)
21:42:15 T:126365696 M: 88276992 DEBUG: ExecuteXBMCAction : Translating SetFocus(2000)
21:42:15 T:126365696 M: 88276992 DEBUG: ExecuteXBMCAction : To SetFocus(2000)
21:42:19 T:126365696 M: 83927040 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
21:42:37 T:153780224 M: 84774912 DEBUG: Thread Jobworker 153780224 terminating (autodelete)
21:42:37 T:162791424 M: 84783104 DEBUG: Thread Jobworker 162791424 terminating (autodelete)
21:42:37 T:146661376 M: 84795392 DEBUG: Thread Jobworker 146661376 terminating (autodelete)
21:42:37 T:804950016 M: 84803584 DEBUG: Thread Jobworker 804950016 terminating (autodelete)


- dallasnights - 2011-07-26

Also, one other question, how do you change the font so the stations are larger

Thank you


- lunerceli - 2011-07-26

Ok, so I deleted the other profile and the script comes up now, but it fails to log in every time though. Any thoughts??


- lunerceli - 2011-07-26

Good news spbogie....i finally got pandora to work....I used HotSpot Shield, cause I started thinking about some other programs that I use, and then I had to delete the /userdata/addon_data folder for pandora. Now it runs just fine....I just have to go in and delete that folder every time I want to use it though...LOL....thanks for all the help and a wonderful script....


- dallasnights - 2011-07-28

Anyone get the fix yet for being able to get out of Pandora
I am ATV 10.09 it works great plays songs, goes to the next one and continuous play
But when I try and exit it just sits there and keeps playing songs and wont return to main menu of XBMC. The only way is a hard reboot of the ATV via menu and arrow down at once

Is there a Fix or something missing in the code so I can close it down and return to the XBMC menu easily

Thanks all


- speed32219 - 2011-07-28

spbogie, I didn't even know it was broken, I've been busy doing other things. Until I tried to listen to some music and got the dreaded invalid login. Downloaded your new script, installed, everything is working great. Now I can listen to Brad Sucks. Thank you.

Edit: I can not exit the application. Nevermind, fixed by removing .xbmc/userdata/addon_data/script.xbmc.pandora and restarting xbmc. Now everything is fucntioning properly, thank you again/

XBMCbuntu
ubuntu 10.10


Frustrated - Tranceaddict420 - 2011-07-29

I uninstalled XBMC and reinstalled. Now running 10.09 (I think).

Downloaded and installed the 1.1.2 script for Pandora and I am STILL getting the log in error:

"Failed to authenticate listener. Check username/password and try again. Show Settings?".

As with others here, I know my credentials are good because I just logged in on my Mac using them.

FYI-Version 1.0.0 was working for me but it too started the authentication error. Any help would be appreciated. This is by far my favorite APTV2 script and I am missing Pandora.