2010-10-06, 11:22
Hello,
assuming i use the following code:
and i call it with
it adds the folder, but when i open it, it is empty.. how can i show within this created folder the content of the folder of the network path?
thanks in advance,
zakmes
assuming i use the following code:
Code:
def addDir(name,url,iconimage):
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=url,listitem=liz,isFolder=True)
return ok
Code:
addDir('The Matrix', 'smb://192.168.0.1/Movies/IMDB top 30/30 - The Matrix/', '')
it adds the folder, but when i open it, it is empty.. how can i show within this created folder the content of the folder of the network path?
thanks in advance,
zakmes