Show skin setting only when a color scheme is selected ?
#1
Hello all,

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

Thanks
 Estuary MOD V2 
Reply
#2
you can do a stringcompare on the Skin.CurrentColourTheme infolabel.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Like this ?

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

I'm not sure this syntax is correct.
 Estuary MOD V2 
Reply
#4
(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.
 Estuary MOD V2 
Reply
#5
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>
Phenomenal™ Skin • ForumWebsiteGitHub
Reply
#6
it's working ! Thanks !
 Estuary MOD V2 
Reply

Logout Mark Read Team Forum Stats Members Help
Show skin setting only when a color scheme is selected ?0