Ìs 'System.hasAddon' working properly
#4
Thank you for verifiying this issue. 

I create a static list with the following item: 
                    <item id="24">
                        <description>Welt der Wunder</description>
                        <label>Welt der Wunder</label>
                        <label2></label2>
                        <icon>$INFO[System.AddonIcon(plugin.video.L0RE.weltderwunder)]</icon>
                        <onclick>Dialog.Close(all)</onclick>
                        <onclick>RunAddon(plugin.video.L0RE.weltderwunder)</onclick>
                        <!-- <visible>System.hasAddon(plugin.video.L0RE.weltderwunder)</visible> -->
                    </item>

As soon as I remove the comment from the penultimate line, no entry is shown any longer, something what is working well for other addons like e.g.
                    <item id="133">
                        <description>CNN</description>
                        <label>CNN</label>
                        <label2></label2>
                        <icon>$INFO[System.AddonIcon(plugin.video.cnn)]</icon>
                        <onclick>Dialog.Close(all)</onclick>
                        <onclick condition="System.hasAddon(plugin.video.cnn)">RunAddon(plugin.video.cnn)</onclick>
                        <visible>System.hasAddon(plugin.video.cnn)</visible>
                    </item>


(I just noticed that this belongs to the skinning-section, not to 'Add-ons', maybe one of the mods could move it, although this shouldn't lead to any changes)

(Yes, the second character of L0RE is indeed the number 'zero' not a capital 'O', I already considered this)
Reply


Messages In This Thread
RE: Ìs 'System.hasAddon' working properly - by malvinas2 - 2019-10-20, 08:53
Logout Mark Read Team Forum Stats Members Help
Ìs 'System.hasAddon' working properly0