"Sort files into folder" does not copy subtitle files - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195) +---- Thread: "Sort files into folder" does not copy subtitle files (/showthread.php?tid=353509) |
"Sort files into folder" does not copy subtitle files - mr-b - 2020-04-14 Hi Newbie here, so please be gentle. ;-) I've tried this function on some test files and it seems to work well, except that it leaves the subtitle files in the top level folder, when I kind of expected it to copy all associated files (with the same filename) into the newly created subfolder. Or does it not work this way? I couldn't find any docs on the function. RE: "Sort files into folder" does not copy subtitle files - DanCooper - 2020-04-14 Can you post a screenshot how the video and subtitle files are named befor moving? The subtitles has to start with the same file name like the movie file, e.g. Code: D:\Avatar.bluray.mkv otherwise it's ipossible to recognize that a subtitle or any other file belongs to a video file. Also this function is only usefull if you store all files in a single and not in separate folders. RE: "Sort files into folder" does not copy subtitle files - mr-b - 2020-04-14 Before: Code: PS V:\films 4> dir Code: PS V:\films 4> dir -R RE: "Sort files into folder" does not copy subtitle files - DanCooper - 2020-04-15 Ok, that's looks like a bug, I've to check that. RE: "Sort files into folder" does not copy subtitle files - mr-b - 2020-04-15 OK tx for looking. I've also noticed that it ignores .rec and .mds files (though I guess the latter is superfluous). RE: "Sort files into folder" does not copy subtitle files - DanCooper - 2020-04-15 So, the problem is that i've changed it from "file has to begin with same like file name" to "only move file names that already has a proper name scheme that fits". The reason was that in some cases I cannot distinguish which movie a file belongs to. If you've this case Code: D:\Movies\Die Hard.mkv The file "D:\Movies\Die Hard with a Vengeance.srt" also starts with "D:\Movies\Die Hard" and whould be moved into the wrong folder. I think i need a better way, maybe start with the longest file names to prevent this issue and move it away before a shorter movie has been handled. I'll do some tests tomorrow to fix that. It's midnight for me and I have to work tomorrow. RE: "Sort files into folder" does not copy subtitle files - mr-b - 2020-04-15 Ok - I've no idea what the name scheme is, I just naively expected it to copy files into the same folder that obviously belonged together. I suppose if there is a question over that then one could make the operation interactive and prompt the user? Or if interactive operation is not desired then one could have an option ... But of course I realise that my knowledge of all this is rather low! Thanks again for looking. |