Closed ciukacz closed 3 years ago
Thanx for reporting this, I don't have a PC :}
I will push this fix asap
@ciukacz can you check if the delete temp files is workings as it is?
if xbmcvfs.exists(__temp__):
(dirs, files) = xbmcvfs.listdir(__temp__)
for file in files:
xbmcvfs.delete(os.path.join(__temp__, file))
else:
xbmcvfs.mkdirs(__temp__)
yes it works here because it is a regular path, the issue with zip:// is that it requires forward slash after the archive name
Cool, thank you
@ciukacz , can you change the line to
flag = xbmcvfs.copy(xbmcvfs.validatePath(os.path.join(zip_filepath, file)), filename_dest)
And test the plugin 🙏🏼
@CaTzil it fails under windows
NapisyUtils.py, line 148:
here os.path.join() adds backslash instead of a forward slash and extraction fails.
works and is still platform independent