How to show watched status as an icon?
#1
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')
Reply
#2
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'})
Dev-Maintainer of Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply

Logout Mark Read Team Forum Stats Members Help
How to show watched status as an icon?0