2010-11-21, 19:06
I'm trying to use skin setting to set up options for 2 different lyrics script.
Iv'e tried this code:
but when choosing a script it will set it for both of them.
how can i get this to work?
Iv'e tried this code:
Code:
<control type="radiobutton" id="109">
<include>skin_settings_labels</include>
<label>$LOCALIZE[31277]</label>
<onclick>Skin.ToggleSetting(show_lyrics)</onclick>
<selected>Skin.HasSetting(show_lyrics)</selected>
</control>
<control type="button" id="110">
<include>skin_settings_button</include>
<label>- $LOCALIZE[31127]</label>
<label2>[color=selected]$INFO[Skin.String(LyricScript_Path)][/color]</label2>
<onclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</onclick>
<visible>Skin.HasSetting(show_lyrics)</visible>
</control>
<control type="radiobutton" id="111">
<include>skin_settings_labels</include>
<label>$LOCALIZE[31277]</label>
<onclick>Skin.ToggleSetting(show_lyrics2)</onclick>
<selected>Skin.HasSetting(show_lyrics2)</selected>
</control>
<control type="button" id="112">
<include>skin_settings_button</include>
<label>- $LOCALIZE[31127]</label>
<label2>[color=selected]$INFO[Skin.String(LyricScript_Path)][/color]</label2>
<onclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</onclick>
<visible>Skin.HasSetting(show_lyrics2)</visible>
</control>
but when choosing a script it will set it for both of them.
how can i get this to work?