Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

Is it possible to get the value of a kodi system GUI Setting?

$
0
0
I'm trying to make a "convenience" page for myself in my skin that has references to common settings I like to change. I'm able to display the setting names and have links that take me to the actual setting on the appropriate page and all. The problem i'm having trouble with is trying to display the value of the system setting in my convenience page so I can know if i've set them all to my liking at a glance or not.

xml:

<item>
    <!-- Interface.Regional.Language -->
    <label>$LOCALIZE[14206].$LOCALIZE[14222].$LOCALIZE[248]</label>
    <label2>locale.language</label2>
    <onclick>ActivateWindowAndFocus(appearancesettings,-99,0,-79,0)</onclick>
    <property name="description">$LOCALIZE[36114]</property>
</item>

This is the code i'm using, this example is for the Language setting in Interface > Regional. Everything works except `<label2>`. I've tried $INFO[], i've tried Skin.String(), i've tried $INFO[Skin.String()] to no avail Sad.

I discovered this thread, https://forum.kodi.tv/showthread.php?tid=342539, which allows one to do what i'm trying to achieve programmatically via an addon but i'd like to access the gui setting value through the skin directly. Is it possible?

Viewing all articles
Browse latest Browse all 1803

Trending Articles