Kodi Community Forum

Full Version: Show skin setting only when a color scheme is selected ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

Is it possible to show a skin setting only when a specific color scheme is selected in Kodi settings ?

Thanks
you can do a stringcompare on the Skin.CurrentColourTheme infolabel.
Like this ?

<visible>Stringcompare(Skin.CurrentColourTheme,Dark with Dark Dialogs)</visible>

I'm not sure this syntax is correct.
(2015-08-24, 18:33)Guilouz Wrote: [ -> ]Like this ?

<visible>Stringcompare(Skin.CurrentColourTheme,Dark with Dark Dialogs.xml)</visible>

I'm not sure this syntax is correct.

I want to show a skin setting and hide another when color "Dark with Dark Dialogs" is selected.
so put this in the one you want to show,
Code:
<visible>Stringcompare(Skin.CurrentColourTheme,Dark with Dark Dialogs)</visible>
and this:
Code:
<visible>!Stringcompare(Skin.CurrentColourTheme,Dark with Dark Dialogs)</visible>
in the one you want to hide.

I suggest you to check first what the $INFO label returns, by put it in a label control, then put the right output in the StiringCompare condition.
Code:
<label>Put This in the StringCompare: $INFO[Skin.CurrentColourTheme]</label>
it's working ! Thanks !