Kodi Community Forum
Conditional Visibility for MasterMode - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Conditional Visibility for MasterMode (/showthread.php?tid=25046)



Conditional Visibility for MasterMode - derson - 2007-02-28

I was hoping to find something like System.MasterMode to enable certain buttons (e.g. Scripts) only when MasterMode is enabled... maybe it exists, but I don't see it documented anywhere... and I guess I'm too lazy to dig into the code tonight ;-)

Anybody tried this before or have the ability to add it into the XBMC CVS?

Thanks!


- jmarshall - 2007-02-28

else if (strTest.Equals("system.ismaster")) ret = SYSTEM_ISMASTER;


Thanks - System.IsMaster is there ;-) - derson - 2007-03-07

Thanks... I found that it is present in GUIInfoManager.cpp ... I'll do some playing with the skin and if successful document it in the Wiki.