service.iptv.manager
service.iptv.manager copied to clipboard
Use new settings.xml format
Implement the new settings format. Since we are targetting Leia and Matrix only, we might as well move now to the newt settings.xml format.
So there are some shortcomings in the new settings.xml format:
- You are not able to use boolean conditions like
HasAddon(id)
orSystem.AddonIsEnabled(id)
- Using
RunScript()
orAddon.OpenSettings(id)
should work, but fails on Kodi v18.6 (Leia)
The benefits would be that:
- Every control can specify its data type properly (i.e. a select can indicate integer format)
- A lot more options, including help texts and advanced configuration levels
But without a working RunScript()
, this becomes useless.
@dagwieers try
<dependencies>
<dependency type="enable" on="property" name="infobool">System.HasAddon(pvr.iptvsimple)</dependency>
</dependencies>
or
<dependencies>
<dependency type="enable">
<condition on="property" name="InfoBool">System.HasAddon(pvr.iptvsimple)</condition>
</dependency>
</dependencies>