TVDB are updating their site. Their site currently has a number of bugs that have broken the TVDB scraper and any add-on that relies on TVDB data. TVDB are working to rectify the problems.

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.
Kodi v17.6 "Krypton" (Aeon MQ 7 Krypton Mod v2.0.0.2) running on Windows 10
Kodi v18.4 "Leia" (Aeon MQ 7 Leia Mod v1.0.1.8) running on Windows 10/Amazon Fire TV
Kodi v18.4 "Leia" (Aeon MQ 8 Multi-Mod v2.9.0) running on Windows 10/Amazon Fire TV Cube
Youtube Channel
Reply
#2
Code:
<visible>!String.IsEmpty(container.pluginname) | String.StartsWith(ListItem.Filenameandpath,plugin://)</visible>
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#3
@sualfred
Works like a champ...thank you much!
Kodi v17.6 "Krypton" (Aeon MQ 7 Krypton Mod v2.0.0.2) running on Windows 10
Kodi v18.4 "Leia" (Aeon MQ 7 Leia Mod v1.0.1.8) running on Windows 10/Amazon Fire TV
Kodi v18.4 "Leia" (Aeon MQ 8 Multi-Mod v2.9.0) running on Windows 10/Amazon Fire TV Cube
Youtube Channel
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



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