2009-06-16, 02:36
I set the infolabels like this:
But xbmc can't show the movie information, only set isFolder=False can do. How to enable movie information with folder.
Code:
def addDir(name,url,mode,iconimage,plot):
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, "Director": "Test Man", "Genre" : "Love", "Plot" : plot, "PlotOutline" : plot } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
return ok
But xbmc can't show the movie information, only set isFolder=False can do. How to enable movie information with folder.