2015-05-02, 01:15
Code:
iconPath = os.path.join('resources', 'media', 'example1.png')
li = xbmcgui.ListItem('Exampl1 Video', iconImage=iconPath)
Icon for video is still not showing up. the image is a 256x256 png.
iconPath = os.path.join('resources', 'media', 'example1.png')
li = xbmcgui.ListItem('Exampl1 Video', iconImage=iconPath)
(2015-05-02, 01:26)ronie Wrote: you need to specify the full path, not the relative path.
iconPath = 'plugin://plugin.video.example/resources/media/example1.png'
li = xbmcgui.ListItem('Video1', iconImage=iconPath)