Kodi Community Forum

Full Version: should be a simple answer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a custom context menu for my skin... What do I need to add in the visibility tag so that it only shows in my skin?
xbmc.getCondVisibility('Window.IsVisible(Home)')
That is python.. I need it in the XML also everyone's skin has a (home) window so how would that be able to tell that the skin is mine?.... I guess the easyest way would be set a property? Onload of my skin ?
Check your skin strings to see if one is already set if not then set one
<onload>Skin.SetString("skin","your skin name here")<\onload>
Then inside your visible tag put Skin.String("skin","your skin name here")