2022-08-16, 21:32
I'm comparing an info label against localized strings and have found an issue.
String.IsEqual(ListItem.Label,$LOCALIZE[208])
Works perfectly fine, 208 is the string 'Play' and if the label is the word 'Play' then it returns true.
However I can't get it to work with add-on strings
String.IsEqual(ListItem.Label,$ADDON[plugin.video.themoviedb.helper 32233])
32233 is the string 'Refresh details' however the string compare always returns false even when the label is equal to 'Refresh details'. Any ideas why?
String.IsEqual(ListItem.Label,$LOCALIZE[208])
Works perfectly fine, 208 is the string 'Play' and if the label is the word 'Play' then it returns true.
However I can't get it to work with add-on strings
String.IsEqual(ListItem.Label,$ADDON[plugin.video.themoviedb.helper 32233])
32233 is the string 'Refresh details' however the string compare always returns false even when the label is equal to 'Refresh details'. Any ideas why?