2010-04-22, 19:53
I've done a quick fix to get this script running with the current svn trunk of xbmc.
It works, but with the current xbmc build it crashes after one song, at least on my machine. At least it runs, and plays the first song. Hope this is useful.
To get this working in trunk, do the following:
Place the pandora addon directory in your 'addons' folder within your xbmc directory.
Change the name of the pandora addon directory (probably 'xbmc-pandora') to 'com.pandora.music'
In default.py:
Insert the following after line 23:
__scriptid__ = 'com.pandora.music'
self.id = __scriptid__
Change the line reading:
self.settings = xbmc.Settings( path=scriptPath )
To:
self.settings = xbmc.Settings( self.id )
Create file called description.xml in the pandora addon folder with the following content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addoninfo>
<id>com.pandora.music</id>
<type>script</type>
<supportedcontent>
<content>audio</content>
</supportedcontent>
<title>Pandora</title>
<version>2.1.4</version>
<platforms>
<platform>all</platform>
</platforms>
<minversion>
<xbmc>25000</xbmc>
</minversion>
<!-- minimum revision of xbmc your addon will run on. Leave blank all for revisions-->
<minrevision></minrevision>
<summary>Pandora Music Streaming</summary>
<description>Pandora Music Streaming</description>
<authors>
<author name="spbogie" email="spbogie@xbmc.org" />
</authors>
<tags>
<tag>pandora</tag>
<tag>streaming</tag>
</tags>
<license>GPL</license>
</addoninfo>
It works, but with the current xbmc build it crashes after one song, at least on my machine. At least it runs, and plays the first song. Hope this is useful.
To get this working in trunk, do the following:
Place the pandora addon directory in your 'addons' folder within your xbmc directory.
Change the name of the pandora addon directory (probably 'xbmc-pandora') to 'com.pandora.music'
In default.py:
Insert the following after line 23:
__scriptid__ = 'com.pandora.music'
self.id = __scriptid__
Change the line reading:
self.settings = xbmc.Settings( path=scriptPath )
To:
self.settings = xbmc.Settings( self.id )
Create file called description.xml in the pandora addon folder with the following content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addoninfo>
<id>com.pandora.music</id>
<type>script</type>
<supportedcontent>
<content>audio</content>
</supportedcontent>
<title>Pandora</title>
<version>2.1.4</version>
<platforms>
<platform>all</platform>
</platforms>
<minversion>
<xbmc>25000</xbmc>
</minversion>
<!-- minimum revision of xbmc your addon will run on. Leave blank all for revisions-->
<minrevision></minrevision>
<summary>Pandora Music Streaming</summary>
<description>Pandora Music Streaming</description>
<authors>
<author name="spbogie" email="spbogie@xbmc.org" />
</authors>
<tags>
<tag>pandora</tag>
<tag>streaming</tag>
</tags>
<license>GPL</license>
</addoninfo>