Kodi Community Forum

Full Version: How to show watched status as an icon?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm a beginner with Python and Koki. I want to get rid of this weird default video icon and replace it with some meaningful ones:

Image

Resume is working properly. Ideally, it should show a white square when not started, a half filled circle when not finished and a check icon when finished. I compared the source code of my project to other addons with this feature but found no differences.

Code:
list_item.setInfo('video', infoLabels={'title': title,'mediatype': 'episode'})
list_item.setProperty('IsPlayable', 'true')
for the thumb image i think you should to add: listitem.setArt

https://codedocs.xyz/AlwinEsch/kodi/grou...957264dbbe

e.g.
listitem.setArt({'thumb': 'my path/url of image.png'})