I was playing around with some addon settings today in a nightly build and noticed within an Addon there is now a settings level toggle. I checked and this didn't exist in Leia. Does this mean addon authors can now set certain categories or specific settings within the settings.xml file to be hidden or visible based on the level? I played around with this a bit and couldn't figure out anything. Changing the levels while in an addon always showed the same (except Basic, that showed none).
Just wondering if this is a new feature for V19 or is meant to be a placeholder for later.
since leia, addons can use the same settings format as the kodi settings use.
https://github.com/xbmc/xbmc/pull/12125
example:
xml:
<setting help="32099" id="movies" label="32001" type="boolean">
<level>1</level>
<default>true</default>
<control type="toggle"/>
</setting>
the settings level toggle in the addon settings dialog was added in kodi matrix:
https://github.com/xbmc/xbmc/pull/15796
That's pretty cool. Thanks for the info, I'll have to play around with it.
I've been playing around with the using the new settings. I found a few addons that have transitioned and also looked at the settings files in the Kodi main repo for an idea of the syntax. There are a lot of options.
Is there any place these are documented? I tried looking on the wiki but couldn't find anything. For the most part I can recreate what I need but I'm having trouble with a few items (like a basic text input of all things) and how to handle buttons that launch other scripts. Overall I can see how this will be way more powerful than the old system.