2017-11-06, 19:34
(2017-10-22, 19:02)IT007 Wrote: The problem is that it starts to move files that are supposed to be excluded, that is why I stop it. The time it takes to move is not a problem if the exlusions would work. Also Z: is on the server, it's a pooled virtual drive.Aaah I understand now. I think you're right. It seems to have to do with how all strings in the addon now use unicode internally. It appears that the JSON-RPC module within Kodi does not accept this correctly. Could you try this fix for me and tell me if it works? It may also break other things that I don't know about yet, for example the holding folder. In settings.py on line 79 please change:
Edit: And to clarify, smb://192.168.0.2/NAS/Media/Sarjat/Säilytys is exluded, yet it start to move episodes from Babylon 5:
DEBUG: Janitor: Moving smb://192.168.0.2/NAS/Media/Sarjat/Säilytys/Babylon 5/Season 1/S01E20.mkv to Z:\Data\Media_Poisto\Babylon 5\S01E20.mkv.
Code:
return unicode(translatePath(utils.ADDON.getSetting(setting).decode("utf-8")), encoding="utf-8")
Code:
return translatePath(utils.ADDON.getSetting(setting).decode("utf-8"))