Subtitles (idx/sub) not working/showing when in separate files

Hi guys,

I think I found a bug in CoreElec 8.95.2.
If subtitles are in separate .idx and .sub files (instead of being muxed into the .mkv) they get recognized and can even be activated and switched (between different languages, forced/full and so on…) but they will not actually show in the video.

If I merge/mux those same files into the mkv with mkvtoolnix they work.

I created 2 logs (one with separate files and one with subtitles merged/muxed into the .mkv)

I hope you guys can identify and fix the problem. Btw this does not only apply to the .mkv in the logs.
The error is with my whole library.

I don’t want to remux my complete library which is why I switched back to kszaq’s 8.2.3.1 for now - it’s working perfectly with this build.

Log 1 (.idx & .sub separate):
https://paste.ubuntu.com/p/MCjrF5pFvN/

Log 2 (.idx & .sub in .mkv):
https://paste.ubuntu.com/p/cSxZKMTP6W/

No Feedback? :frowning:

I’m not sure if .idx or .sub formats are supported, however, the easiest way around this is to convert the files to srt which is a much more popular format with one of the many online converters out there. Google it or use the one I use below.

Ex. Subtitle Tools - Convert to Srt

.idx and .sub have been supported by Kodi for aeons!
It’s just a bug - as I said: the subtitles do get recognized - they are just not displayed.

Well, the problem seems to be that the subtitle files are not rendering. I remember I had some similar problems some years ago, yet I can’t recall if it was with Kodi, Plex or PlexKodiConnect… I highly recommend that you convert the files to srt, ssa or another file format which is text based, and not images as they have to be transcoded/burned.

If you want the devs to look at it you should upload some logs so they can see the whole process from playback and when the subtitle is enabled etc.

just tested and you are right, idx/sub subtitles don’t work on 8.95.2

Confirmed also on my box. I needed to revert back to 8.95.0 for working sub/idx subtitles. On 8.95.1 the same error exists.

If you guys could upload some logs - https://discourse.coreelec.org/t/how-to-get-logs-and-upload-them/1431 - some of the CE devs will look at it :+1:

1 Like

@esicyhun Thanks for confirming!
@CI6N0Z my first post already contains 2 logs. Are they not ok?

I assume it’s enough with kodi.log files. It’s good to know that it worked in version 8.95.0. I assume one of the CE devs will look into this when they have time. In the meantime, do this occur when playback from an external hard drive or only SMB/NFS shares?

Here are some of the lines from Log 1 which might be helpful to solve the issue:


11:05:27.208 T:4091268320   DEBUG: CSettingsManager: requested setting (subtitles.enable) was not found.
11:05:27.209 T:4091268320   DEBUG: CSettingsManager: requested setting (subtitles.delay) was not found.
11:05:27.209 T:4091268320   DEBUG: CSettingsManager: requested setting (subtitles.stream) was not found.
11:05:27.209 T:4091268320   DEBUG: CSettingsManager: requested setting (subtitles.browser) was not found.
11:05:27.209 T:4091268320   DEBUG: CSettingsManager: requested setting (subtitles.search) was not found.
11:05:27.209 T:4091268320   DEBUG: CSettingsManager: requested setting (audio.makedefault) was not found.

11:05:18.091 T:3705963376  NOTICE: Opening Subtitle file: nfs://<LocalIP><FILEPATH><FILENAME>.eng.idx
11:05:18.091 T:3705963376   DEBUG: CFileCache::Open - opening <<FILEPATH><FILENAME>.eng.idx> using cache
11:05:18.099 T:3705963376   DEBUG: CNFSFile::Open - opened <FILEPATH><FILENAME>.eng.idx
11:05:18.101 T:3598582640   DEBUG: Thread FileCache start, auto delete: false
11:05:18.131 T:3801957232   DEBUG: CVideoPlayerVideo - video decoder returned error
11:05:18.206 T:3598582640   DEBUG: Previous line repeats 1 times.
11:05:18.206 T:3598582640    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)

I think there is a fix upcoming in Kodi shortly for this, link.

2 Likes