I’m currently trying to show different icons depending on certain settings, for example order is ascending or descending or shown videos are set to all, watched or unwatched.
I’ve found the condition for the sort order…
Code:
<visible>(Container.SortDirection(ascending))</visible>
<visible>(Container.SortDirection(descending))</visible>
but am unsure what to use for the watched/unwatched/all videos option. I’m currently using..
Code:
<visible>String.IsEqual(Control.GetLabel(10),watched</visible>
which works but obviously if the language isn’t english this wouldn’t.
Is there a boolean condition I can use so I don’t have to rely on a string comparison?