How to show watched status as an icon? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: How to show watched status as an icon? (/showthread.php?tid=357048) |
How to show watched status as an icon? - Nonononoki - 2020-09-12 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: 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'}) RE: How to show watched status as an icon? - CastagnaIT - 2020-09-18 for the thumb image i think you should to add: listitem.setArt https://codedocs.xyz/AlwinEsch/kodi/group__python__xbmcgui__listitem.html#gad3f9b9befa5f3d2f4683f9957264dbbe e.g. listitem.setArt({'thumb': 'my path/url of image.png'}) |