Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Bug Correct .srt file is not loaded if file names are too similar
#1
Exclamation 
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
Reply
#2
Never had that problem. But also, why put multiple movies into 1 folder?
Reply
#3
(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.)
Reply
#4
(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
Reply
#5
(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.
Reply
#6
(2019-03-12, 09:05)Klojum Wrote:
(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. 
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.

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.
Reply
#7
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Correct .srt file is not loaded if file names are too similar0