XBMC Community Forum
[RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) (/showthread.php?tid=70471)



- YellowSheep - 2011-10-25 07:06

So I managed to modify the script so that you can switch skins but right now you have to actually type in the name of the skin folder for it to work. I'm not sure how to make it "load" the names so you can just select through them like you can for the main XBMC skins. Will work on it some more in the morning.


- htpc guy - 2011-10-25 14:49

YellowSheep Wrote:So I managed to modify the script so that you can switch skins but right now you have to actually type in the name of the skin folder for it to work. I'm not sure how to make it "load" the names so you can just select through them like you can for the main XBMC skins. Will work on it some more in the morning.

Thanks. I figured out how to edit the settings.xml file so it provides a setting called "Look + Feel" (may change to just skin or appearance). This will give the user a spinner button to choose which skin. If you could send me the default.py file you edited that would be great. Please comment in the changes you made so I can easily detect what is new and get this going.

Thanks again.Big Grin


- htpc guy - 2011-10-26 01:01

Code:
<setting id="skin" type="enum" label="Look + Feel"
        values="Default|Alaska" default="0"/>


This is added to the settings.xml file. It lets the user choose the skin using a spinner.


- mrdally204 - 2011-10-26 01:32

Is this script in a repo yet or is it a manual install? If repo which, if not please do so as it looks great and would love to have the auto update feature working as it looks like its ever evolving Smile


- htpc guy - 2011-10-26 02:43

Unfortunately no Repo. I'm modding the files adding more skins. It is on git but if you use my modifications then you will not be able to update from git. Spbogie doesn't come around often. Seems he only makes revisions in order to keep the program functional.


- YellowSheep - 2011-10-26 04:50

htpc guy Wrote:
Code:
<setting id="skin" type="enum" label="Look + Feel"
        values="Default|Alaska" default="0"/>


This is added to the settings.xml file. It lets the user choose the skin using a spinner.

I had already figured out how to do this, however what I really would like is the ability to add skins to the folder and have the user be able to choose them without having to add it to the settings.xml file.

also you should change it to

Code:
<setting id="skin" type="[b]labelenum[/b]" label="Look + Feel"
        values="Default|Alaska" default="Default"/>



- YellowSheep - 2011-10-26 05:29

Here is my default.py file. The Skin setting type needs to be a labelenum for this to work


- htpc guy - 2011-10-27 01:35

^^ Works like a charm. Thanks! ^^

Hopefully tonight I can post a download link with another skin.


- YellowSheep - 2011-10-27 04:49

Cool, glad it works. I should probably add some checks to make sure the skin loads properly (i.e. the skin file actually exists) and give the user a good error message if it does not.


- htpc guy - 2011-10-27 05:35

Pandora with 3 different skins! I'll just throw some images out here and let them speak for themselves.

[Image: screenshot000d.png]
Choose Addon Settings to pick the skin

[Image: screenshot007b.png]
Default - Inspired by Pandora's website, Android and iOS apps

[Image: screenshot006pc.png]
Alaska - Inspired by.... Umm I can't remember. Thanks HitcherLaugh

[Image: screenshot001og.png]
Smoke - This one has a partially transparent background. Works best with the artist slideshow addon. I believe its in the official repo.

[Image: screenshot004fm.png]
Transparent background in effect.

Download Files
This is the entire working addon. Please back up your current Pandora skin to be safe.