Page 1 of 1

Case-sensitivity/indexing problem when detecting subtitles

PostPosted: Mon Apr 28, 2014 4:08 pm
by side
Hi,

First of all, thanks for the great program! :)

Not sure if this is more of a bug or a feature request, but here goes:

I recently struggled a lot trying to understand why subtitles would not play on some of my video files, even though there was nothing special either in the video or the subtitles.

It finally struck me when I browsed the shared folders using my TV, that some of the file names were shown in all lower case letters, even though I had renamed them to first letter upper case. This would not really matter, but apparently Serviio does not use subtitles unless they are in the exact same case as the file it has indexed? So because Serviio thought that the file name was in lower case, but the subtitles were in upper case, the subs were never played. Here is how the situation happened (and has happened many times before I'm sure).

1. Extract a file to a Serviio shared folder: D:\Videos\video.file.mkv. Serviio indexes the file.
2. Extract subtitles to the same folder: D:\Videos\Video.File.srt.
3. Rename also the video file to first letter upper case: D:\Videos\Video.File.mkv.

After this, the subtitles do not work, unless I force reindex by eg. renaming file to Video.File.Tmp.mkv and then back to Video.File.mkv.

To avoid this problem, could Serviio maybe switch to using case-insensitive checks when trying to find subtitles, or reindex the files even though only the case changes? Or am I doing something wrong here? I'm sure that at least for me, this has been the problem with 95% of the cases (if not all) where subtitles just do not work even though they should.

I'm running Serviio 1.4.1.2 on Windows 8.1 64-bit, and my TV is Samsung LE40C755.

Thanks in advance!

Re: Case-sensitivity/indexing problem when detecting subtitl

PostPosted: Mon Apr 28, 2014 7:20 pm
by zip
I will open a ticket, thanks.