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)



- bradlay - 2011-05-23

zivagolee Wrote:Hmm.. I seem to be getting this error with the latest git:

22:03:44 T:2701093744 M:2552238080 INFO: -->Python script returned the follow
ing error<--
22:03:44 T:2701093744 M:2552238080 ERROR: Error Type: <type 'exceptions.TypeEr
ror'>
22:03:44 T:2701093744 M:2552238080 ERROR: Error Contents: XML File for Window
is missing
22:03:44 T:2701093744 M:2552238080 ERROR: Traceback (most recent call last):
File "/home/user/.xbmc/addons/script.xbmc.pandora/default.py", line 146, in <module>
panda = Panda()
File "/home/user/.xbmc/addons/script.xbmc.pandora/default.py", line 57, in __init__
"Default", "NTSC", panda = self )
TypeError: XML File for Window is missing

The file and case seems to be correct?

~/.xbmc/addons/script.xbmc.pandora/resources/skins/Default/NTSC$ ls
script-pandora.xml

Anybody have some clues on what needs to be corrected?

I have the same issue as you. Did you find a fix?


- maseatx - 2011-05-23

smorloc Wrote:I agree. I having been trying to figure out how to get this script to behave like most of the other ones. I'm still working through the XBMC documentation to figure out how to get this addon to behave like the other similar addons. My guess is that this shouldn't be a difficult behavoir to implement in the Pandora addon.

For myself, I would like to put Pandora on an then play a picture slideshow...

Regards,
Steve

exactly photos,fanart,Homepage
I also was trying to see if i get the same effect as the grooveshark plugin when i play a song on groove if i have the artist in my library it puts up the fanart on the home screen. ive just been curious if this could happen on any music plugin or script or if it was a grooveshark.plugin feature


- eTip - 2011-05-24

Ome more minor suggestion: The thumb up (like) button only reflects the state of the currently playing song when it's *highlighted*. Would be nice if it could do so whether highlighted or not so that when listening, one can tell at a glance (& without picking up the remote) whether the current song has already been "liked".


- bac522 - 2011-05-24

smorloc Wrote:For myself, I would like to put Pandora on an then play a picture slideshow...

2nd that!


- htpc guy - 2011-05-24

bac522 Wrote:2nd that!

There are a few skins that allow you to do this. T! is one and Cirrus Extended 2.0 is the other. As Pandora plays (or any music) I get my music genere fanart playing in the background. This is the fanart chosen in the settings> background visualizer. I can hit the Now Playing button in Pandora and the menu goes away leaving me with the image slideshow. I also use the waveform music visualization as well.


- tkarns24 - 2011-05-24

Hey i was trying to get pandora to launch last night on my atv , but kept getting a username and password error . i can tell eyou that they are roght cuz i launched it on boxee and my laptop with the same logins and they worked . any help would be nice


- eTip - 2011-05-24

Are you running smorloc's version of the script?


- tkarns24 - 2011-05-25

im not sure who's version is running have had it on there since a while back and it has worked well before.


Problem loading the script - juancubo - 2011-05-25

I have a problem loading the script. This is the log

19:27:59 T:167944192 M:119406592 NOTICE: -->Python Interpreter Initialized<--
19:27:59 T:167944192 M:119406592 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py
19:27:59 T:167944192 M:119406592 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:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
19:27:59 T:167944192 M:119406592 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora
19:27:59 T:167944192 M:119406592 DEBUG: Instantiating addon using automatically obtained id of "script.xbmc.pandora" dependent on version 1.0 of the xbmc.python api
19:27:59 T:167944192 M:119406592 INFO: Loading skin file: DialogProgress.xml
19:27:59 T:167944192 M:119406592 DEBUG: DialogProgress::StartModal called
19:27:59 T:167944192 M:119406592 DEBUG: ------ Window Init (DialogProgress.xml) ------
19:27:59 T:167944192 M:119402496 INFO: Texture bundle has changed, reloading
19:27:59 T:167944192 M:119402496 DEBUG: Cleanup - Closed bundle
19:27:59 T:167944192 M:119394304 INFO: Texture bundle has changed, reloading
19:27:59 T:167944192 M:119394304 DEBUG: Cleanup - Closed bundle
19:27:59 T:143421440 M:119365632 INFO: Texture bundle has changed, reloading
19:27:59 T:143421440 M:119365632 DEBUG: Cleanup - Closed bundle
19:28:01 T:167944192 M:118882304 ERROR: /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/libpandora/pianoparser.py:6: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
f = open( os.path.join( os.getcwd(), fname ), 'r' )
19:28:01 T:167944192 M:118882304 ERROR: /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py:21: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
scriptPath = os.getcwd().replace(';','')
19:28:02 T:167944192 M:118865920 DEBUG: DialogProgress::StartModal called (already running)!
19:28:02 T:167944192 M:118865920 DEBUG: ------ Window Init (DialogProgress.xml) ------
19:28:03 T:167944192 M:118865920 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 )
19:28:03 T:167944192 M:118865920 INFO: Loading skin includes from /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/skins/Default/NTSC/includes.xml
19:28:03 T:167944192 M:118865920 INFO: Error loading includes.xml file (/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/resources/skins/Default/NTSC/includes.xml): Failed to open file (row=0, col=0)
19:28:03 T:167944192 M:118865920 INFO: -->Python script returned the following error<--
19:28:03 T:167944192 M:118865920 ERROR: Error Type: <type 'exceptions.TypeError'>
19:28:03 T:167944192 M:118865920 ERROR: Error Contents: XML File for Window is missing
19:28:03 T:167944192 M:118865920 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py", line 214, in <module>
panda = Panda()
File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.pandora/default.py", line 68, in __init__
skin, "NTSC", panda = self )
TypeError: XML File for Window is missing
Any Help!!!
I installed the 1.1.2 version using the file without the version, thru the addon zip installation option under setting/addon menu within XBMC, in a ATV2 with a nightly build (i think is the 05/15/2011 build)


- eTip - 2011-05-25

tkarns24 Wrote:im not sure who's version is running have had it on there since a while back and it has worked well before.

Look back a couple pages in this thread. You likely need to either install the updated script or the fix for the original script.


Pandora script for multiple platforms- Xbox included too? - t3ch42 - 2011-05-26

Hi,

I know that the Xbox is no longer supported by Team Xbmc, but was hoping that the original script writer may have info regarding use on it. I hope this isn't breaking any rules, but if it is, I'll move on.
Has anyone had any luck getting this to work on the original Xbox? I installed it in XBMC4Xbox, and it always locks up on me. I would think that a python script would work across the board regardless of the platform. Maybe a memory issue though? Doesn't appear though as my lcd still shows free mem.

After loading the script through file browser though, I was able to get the script to work one time, and one time only. I don't know if it was a fluke or if it happened at the time when the scripts were failing and being updated often.

Thanks to all of the creative developers out there, you still bring a lot of use to extremely old hardware!!!


help please - tkarns24 - 2011-05-26

the version that i am running is the 1.0.0 not the smorloc's version of the script, i dowloaded it tho ,but the results did not change. I current sill show the Pandora Alaska MOD. I then went back and ftp into my atv and set it up according to the instruction, still not change and not update. Please help anybody


- gsp1 - 2011-05-26

First post...on any forum. I think I did everything right but apparently I did not. I keep getting the "Script Failed! Confusedcript.xbmc.pandora" in the bottom, right-hand corner of the screen. I've tried 1.1.1 and 1.1.2.

I'd like to provide a log but I can't seem to figure out where it is.

Thanks for your help.


- eTip - 2011-05-26

The log file location depends on what platform you are on. See the stickies in the appropriate sub-forum for details on log file location and what information is needed for any one to be able to help you. Here is the sticky for IOS (iPhone/iPad/AppleTV2):

http://forum.xbmc.org/showthread.php?tid=92480

...there are similar stickies in the Mac, Linux & Windows sub forums.


- htpc guy - 2011-05-26

tkarns24 Wrote:the version that i am running is the 1.0.0 not the smorloc's version of the script, i dowloaded it tho ,but the results did not change. I current sill show the Pandora Alaska MOD. I then went back and ftp into my atv and set it up according to the instruction, still not change and not update. Please help anybody

The updated Pandora add-on shows up in the music section under music adding. I think my Alaska version shows under programs.