2016-07-03, 15:33
I've noticed that "StringCompare" is deprecated (http://forum.kodi.tv/showthread.php?tid=...pid2281321), but I can't get "String.IsEqual" to work with my Krypton context add-on.
This <visible> tag works with 16.1:
This enables the context add-on just on EPG items. But this doesn't work anymore. I've tried a number of combinations (including "String.IsEqual"), but without success:
The only tag that works is "<visible>true</visible>", but this enables the menu everywhere. OK for testing, bad for release.
I can't find any obvious changes, do you have an idea?
This <visible> tag works with 16.1:
Code:
<visible>StringCompare(Container.Content(LiveTV),true)</visible>
Code:
<visible>StringCompare(Window.IsVisible(tvguide),true)</visible>
<visible>StringCompare(ListItem.HasEpg,true)</visible>
<visible>StringCompare(Window.IsActive(tvguide),true)</visible>
<visible>StringCompare(Control.IsEnabled(10702),true)</visible>
The only tag that works is "<visible>true</visible>", but this enables the menu everywhere. OK for testing, bad for release.
I can't find any obvious changes, do you have an idea?