Change skin default settings
#1
Hi Pecinko! thanks for the great skin

I would like to change some of the default settings so when I do a clean install or my guisettings.xml file gets corrupted I don't have to redo all of my settings. I could always backup the guisettings.xml file but I'd rather do something more clean.

I found this in Settings.xml that is relevent to VerticalHome for example:

Code:
<item id="0" description="Horizontal">
              <visible>Skin.HasSetting(VerticalHome)</visible>
              <label>$LOCALIZE[31994]</label>
              <label2>$LOCALIZE[107]</label2>
              <onclick>Skin.ToggleSetting(VerticalHome)</onclick>
            </item>
            <item id="0" description="Vertical">
              <visible>!Skin.HasSetting(VerticalHome)</visible>
              <label>$LOCALIZE[31994]</label>
              <label2>$LOCALIZE[106]</label2>
              <onclick>Skin.ToggleSetting(VerticalHome)</onclick>
            </item>

I understand that is what builds the menu option in the settings, with the visibility and all. But what I don't get is how to change it from No to Yes by default, so that the vertical home will be default.

If someone can please help me clear this up I figure I can change most of the other settings I need myself.

Would be also nice to set the default for the subtitles as well, and same, I can't seem to find out how to make script.xbmc.subtitles the default for SubtitleScript_Path:

Code:
<item id="4" description="Subtitles">
              <label>$LOCALIZE[24020] $LOCALIZE[31133]</label>
              <label2>$INFO[Skin.String(SubtitleScript_Path)]</label2>
              <onclick>Skin.SetAddon(SubtitleScript_Path,xbmc.python.subtitles)</onclick>
            </item>

Thanks a lot for any pointers!
Reply

Logout Mark Read Team Forum Stats Members Help
Change skin default settings0