Trying to get the 'played' overlay icon to show up
#1
Hi,

I'm working on a simple video-add on and I'm unable to get the 'played' overlay icon to be displayed (only the regular text gets displayed)

Here is my code:

Code:
item = xbmcgui.ListItem('testing', iconImage = 'DefaultVideo.png')
item.setInfo(type='video', infoLabels={ 'title': 'testing', 'Playcount': 1, 'overlay': 7 })
xbmcplugin.addDirectoryItem(thisPlugin, 'temp.tmp', item, False)
xbmcplugin.endOfDirectory(thisPlugin)

Is there something more I need to do in order to get this to work?

Thanks
Reply
#2
Solved by changing one line to this

Code:
xbmcplugin.addDirectoryItem(thisPlugin, sys.argv[0], listitem = item, isFolder=True)
Reply

Logout Mark Read Team Forum Stats Members Help
Trying to get the 'played' overlay icon to show up0