Kodi Community Forum

Full Version: ListItem.Overlay from either InfoTagVideo() or ListItem.setInfo() ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...
Interesting, thanks for the heads up @zachmorris !
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?
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.
Cool in the case I'll leave it out and just use those two instead. Thanks!