Hi, i have the following listitem, defined in addon:
Code:
def addLink(name,url,duration,mode,iconimage):
u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
liz.addStreamInfo('video', { 'duration': duration })
liz.setProperty('IsPlayable' , 'true')
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=False)
return ok
How can i add InfoLabel for video resolution like SD/HD/4K… in Kodi like this:
Also, how to add description/plot for title in the same listitem