RemiRigal/Plex-Auto-Languages

Ignored type of subtitle chosen ( favoured forced ), possibly malformed subtitles

metagliatore opened this issue · 1 comments

Hi, I notice an unexpected behaviour in this situation:
In a certain TV Series the first episode has those subtitles
Screenshot from 2022-10-01 17-13-05
If I select the Italian srt, when I go to the second episode the subtitles selected track is the Italian forced one.

Screenshot from 2022-10-01 17-26-56

But I notice that the subtitles are little different each other, in the second episode, it has the "SUB ITA" description, it should be the problem, because if I set the subtitles in the second episode it will go ok with the next episodes

Is this behaviour already known? Thanks

Hi @metagliatore, sorry for the delayed response !

You are observing this behaviour because the forced Italian subtitles are not properly tagged as forced subtitles, it's only indicated by the description.

When you select Italian (SRT) for the fist episode, Plex-Auto-Languages tries to find a matching subtitles stream in the next episode. Based on the information of the stream, it should be an Italian SRT stream with no description, there are two streams that corresponds to these conditions in the next episode, the first stream is selected by default.

I guess that it could be improved by automatically assuming that subtitles which description contains the forced (or equivalent in other languages) keyword are indeed forced subtitles.