Bug Correct .srt file is not loaded if file names are too similar - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Bug Correct .srt file is not loaded if file names are too similar (/showthread.php?tid=341892) |
Correct .srt file is not loaded if file names are too similar - mmcmonster - 2019-03-11 Noticed this on Kodi on Linux as well as on LibreElec and OpenElec. Name of files: Rocky.avi Rocky 2.avi Rocky 2.srt If you play Rocky.avi you will get the subtitles from Rocky 2. :-( Workaround: rename Rocky.avi->Rocky 1.avi RE: Correct .srt file is not loaded if file names are too similar - Klojum - 2019-03-11 Never had that problem. But also, why put multiple movies into 1 folder? RE: Correct .srt file is not loaded if file names are too similar - mmcmonster - 2019-03-12 (2019-03-11, 18:27)Klojum Wrote: Never had that problem. But also, why put multiple movies into 1 folder?All my movies are in one folder. It's how I did it originally and would find it time consuming to split them up at this point. (For TV shows I put each show in a folter with subfolders for each season.) RE: Correct .srt file is not loaded if file names are too similar - bilgepump - 2019-03-12 (2019-03-11, 18:27)Klojum Wrote: Never had that problem. But also, why put multiple movies into 1 folder?This may be related to my issue. Kodi searching for "something" (maybe it's subtitles?) is something new, it didn't used to do this. https://forum.kodi.tv/showthread.php?tid=341600 RE: Correct .srt file is not loaded if file names are too similar - Klojum - 2019-03-12 (2019-03-12, 03:14)mmcmonster Wrote: All my movies are in one folder. It's how I did it originally and would find it time consuming to split them up at this point. Hmpf... So why did you do things correctly for tv episodes? "Time consuming" = being lazy in my world. It's a one-time effort, and file management itself will be so much easier after that. With up to 9 fanart type files per movie, your single movie folder becomes pretty crowded. Your OS will not be pleased. Nevertheless, Kodi should still find the correct subtitle file for the selected video. Using 1 video per folder probably avoids the bug. Maybe it's the space in the filename that is confusing. Maybe your Kodi setup itself has flaws? Regex or something? Also OpenELEC is no longer a viable option. That ship has sailed more than 2 years ago. RE: Correct .srt file is not loaded if file names are too similar - mmcmonster - 2019-03-13 (2019-03-12, 09:05)Klojum Wrote:I don't use OpenElec any more. It's all LibreElec and Linux Mint installs. The issue has existed for multiple years. Over multiple clean installs of Kodi on multiple different computers. So it's not particular to a Kodi setup. It's a bug.(2019-03-12, 03:14)mmcmonster Wrote: All my movies are in one folder. It's how I did it originally and would find it time consuming to split them up at this point. I'd rather not change the way I store the movie files because I do off-site replication of the movie folder to a couple other sites with rsync. (off site backup) Every time I add a movie it gets copied to two other sites. The filesystem is ext4. Hasn't had a problem. Most movies are just the movie file, the .srt, and the .nfo. Very few have a -poster.jpg as well. RE: Correct .srt file is not loaded if file names are too similar - Klojum - 2019-03-13 I'm still interested in Kodi's debug log (wiki) where it selects the wrong subtitle file. Be sure to have debugging enabled and restart Kodi beforehand. |