Posts: 824
Joined: Aug 2011
Reputation:
91
2023-02-15, 12:47
(This post was last modified: 2023-02-17, 22:49 by realcopacetic. Edited 1 time in total.)
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...
Posts: 824
Joined: Aug 2011
Reputation:
91
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?
Posts: 1,123
Joined: Mar 2008
Reputation:
105
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.
Posts: 824
Joined: Aug 2011
Reputation:
91
Cool in the case I'll leave it out and just use those two instead. Thanks!