v20 listitem.setInfo('video', {'path': }) vs setPath(path='') vs setProper('path', )
#5
I looked again and that isn't going to work.  It is for creating a file not making a path known.    xbmcvfs.translatePath and xbmcvfs.validatePath are for manipulating existing path information.   Sorry I am not more helpful but it might be good to see your code.  I've typically used the xbmcplugin.addDirectoryItem command to create a window of listitems and that you pass the full path and filename for each listitem. 

You can see an example here:

xbmcplugin.addDirectoryItem(int(sys.argv[1]), 'F:\\Trailers\\300.mov', listitem, totalItems=50)

This is how I do it.

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply


Messages In This Thread
RE: listitem.setInfo('video', {'path': }) vs setPath(path='') vs setProper('path', ) - by jbinkley60 - 2021-04-16, 14:25
Logout Mark Read Team Forum Stats Members Help
listitem.setInfo('video', {'path': }) vs setPath(path='') vs setProper('path', )0