Open dagwieers opened 4 years ago
So there are some shortcomings in the new settings.xml format:
HasAddon(id)
or System.AddonIsEnabled(id)
RunScript()
or Addon.OpenSettings(id)
should work, but fails on Kodi v18.6 (Leia)The benefits would be that:
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>
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.