Kodi Community Forum

Full Version: SettingsCategory.xml subtitle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i've added subcategory titles to the settingscategory.xml file by adding the following code.

settingscategory.xml: for each category setcatmusic, setcatpictures...
Quote:    <control>
     <visible>skin.hassetting(setcatvideos)</visible>
     <include>subtitle</include>
     <include>textcolorblue</include>
     <label>$localize[3] - $localize[10507]</label>
   </control>

settings.xml: for each category button setcatmusic, setcatpictures...
Quote:      <onclick>skin.resetsettings</onclick>
     <onclick>skin.togglesetting(setcatvideos)</onclick>
     <onclick>activatewindow(myvideossettings)</onclick>

the thing with this is, if i added different settings they would be reset also.

does anybody know a better way to add the subcategory titles to settingscategory.xml?

thanks



nice inventive approach Smile

why not just use <visible>window.isactive(mymusicsettings)</visible>

etc?

cheers,
jonathan
because i didn't read the manual.

thank you Smile