Posts: 17,709
Joined: Aug 2007
Reputation:
615
Hitcher
Team-Kodi Member
Posts: 17,709
You're using a string compare with a boolean condition!
Try <param name="visible" value="ListItem.HasVideoVersions" />
Posts: 17,709
Joined: Aug 2007
Reputation:
615
Hitcher
Team-Kodi Member
Posts: 17,709
2024-06-03, 01:07
(This post was last modified: 2024-06-03, 01:08 by Hitcher. Edited 2 times in total.)
ListItem.HasVideoVersions
is a boolean condition meaning it will be either true
or false
. You were using it in a String.IsEqual(info,string)
check and not checking it against another value.
The String.IsEqual(ListItem.DBType,movie)
can be dropped as it will only return true
if it has versions.