Posts: 1,332
Joined: Jan 2016
Reputation:
54
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?
Posts: 73
Joined: Apr 2016
Reputation:
3
xbmc.getCondVisibility('Window.IsVisible(Home)')
Posts: 1,332
Joined: Jan 2016
Reputation:
54
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 ?
Posts: 73
Joined: Apr 2016
Reputation:
3
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")