2012-11-15, 02:05
When using xbmcvfs.listdir(path) the returned file list is not true if the path contains a file named .rar, then the file name inside the archive is listed. This cannot be correct?!
Imagine doing:
this will fail if the avi is inside a .rar since then the path should be rar://......
Trac ticket http://trac.xbmc.org/ticket/13551
Imagine doing:
Code:
for file, folder in xbmcvfs.listdir(somepath):
if ".avi" in file:
play(os.path.join(somepath, file)
Trac ticket http://trac.xbmc.org/ticket/13551