2021-04-16, 14:25
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
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