Solved ListItem.Overlay from either InfoTagVideo() or ListItem.setInfo() ?
#1
How do I set ListItem.Overlay for a plugin item? From looking at the json result for GetMovies, I would need to use 'playcount' to ascertain if something is watched.
But then I can't figure out using InfoTagVideo() or ListItem.setInfo() how to 'OverlayWatched.png' into ListItem.Overlay...
Reply
#2
Take a look here:
https://forum.kodi.tv/showthread.php?tid...pid3140663
Reply
#3
Interesting, thanks for the heads up @zachmorris !
Reply
#4
I think to keep things simple, I'll stick with playcount > 0 to ascertain if something has been watched. Is ListItem.Overlay doing anything more sophisticated in that to set OverlayWatched.png?
Reply
#5
Thats what i gather. From @jurialmonkey: The listitem.overlay icon appears to be now solely determined by playcount for episodes/movies/videos mediatype and by unwatchedepisodes count for tvshows/seasons mediatype.
Reply
#6
Cool in the case I'll leave it out and just use those two instead. Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
ListItem.Overlay from either InfoTagVideo() or ListItem.setInfo() ?0