Condition for <visible> tag
#1
Is there a condition that can be used to make an item visible when using any Video Add-on? I know I can use System.AddonIsEnabeled(id) for a specific Add-on, but I want the item to display when any Video Add-on is in use.
Reply
#2
Code:
<visible>!String.IsEmpty(container.pluginname) | String.StartsWith(ListItem.Filenameandpath,plugin://)</visible>
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
@sualfred
Works like a champ...thank you much!
Reply

Logout Mark Read Team Forum Stats Members Help
Condition for <visible> tag0