[BUG - PMS 1.15 regression] Automatic subtitle selection broken

I recently updated my PMS Docker image from 1.14.1.5488 to 1.15.3.876 (using the latest tag). Now I have big problems with the automatic subtitle selection feature.

Here is how I configured it:
Preferred Audio Language: German
Preferred Subtitle Language: English
Auto-Select Subtitle Mode: Shown with Foreign Audio

This worked mostly fine with 1.14.1.5488, the only thing I was missing was automatic subtitle selection of forced German subtitles for German audio (see Unable to configure automatic selection of both forced and foreign subtitles).

But now with 1.15.3.876 the automatic subtitle selection seems to be completely broken.
Some examples:

  • A file with only English audio and a single English subtitle track does not show the English subtitles automatically like it should.
  • A file with English and German audio and also subtitle tracks for both languages now shows the German (update: now English with PMS 1.15.4.994 hotfix) subtitles although it shouldn’t show any (since it selects the German audio track).

All mentioned samples have their subtitles embedded in an MKV file. All audio and subtitle tracks are correctly flagged.

The bug affects new and old files the same. For example, files that I’ve already watched with correct automatic subtitle selection in the past now have a wrong subtitle selection.

Exactly the same issue here. It seems since the last 2 or so beta releases the subtitle auto selection does exactly the opposite of what is configured.

Just coming to add my +1 to this. Since the current update, automatic subtitles have stopped working.

They’re either selected but don’t actually play until I toggle them off and back again, or they’re not selected at all when they should be.

Worked without issue until the most recent update.

ubuntu 18.04
docker 1.15.3.876

UPDATE: I went back and looked at some items that had worked previously and noticed that the audio is now being detected/listed as Unknown. This seems to result in no subtitles being automatically selected.

Could someone with a Plex Pass please test if this is fixed in the 1.15.4 beta?

For me this is still not working on 1.15.4.919.

Settings:
Preferred Language: German
Subtitles: Display on foreign languages
Preferred Subtitle language: English

Watching a show with an unknown language audio track and an english SRT -> no subtitle is being automatically selected - Expectation and how it was working before: English sub would automatically be displayed

Watching a show with an english audio track and an english SRT -> no subtitle is being automatically selected - Expectation and how it was working before: English sub would automatically be displayed

So, this is not fixed. Both cases above should select the english subtitle here.

Can someone from the Plex team please at least acknowledge this bug?

I am on Server Version 1.15.4.993 and subtitles do not work consistently at all for me. I have checked the settings as per the support knowledge base, but to no avail. Any guidance or updates would be welcome!

I can now confirm that this is not fixed in 1.15.4.993.

Still not fixed for me in 1.15.5.994.

@OttoKerner @sa2000 It seems like you are quite active on the “subtitles” tag. May I please ask you to help us get this bug recognized (or even fixed)?

Same issue.

Still not fixed in PMS 1.15.4.994 hotfix.

@anon18523487 or @BigWheel can you maybe help us to get some attention to this bug?

I don’t know anything about dockers, but I can look.

1 - provide me a screenshot of your audio/subtitle settings from your account
2 - show me the preplay before you start playing something
3 - get me the xml for that video
4 - get me the PMS logs after you start playing the video

Hi @anon18523487 ,

Thanks for getting in touch!

I don’t think this bug is Docker related, I just added that tag because it was recommended by the pinned topic in this forum category.

I’ll provide all your requested things as attachments for two files, one that only has an english audio track and one that has both english and german audio tracks.

Screenshots, XML files and logs.zip (1.0 MB)
(I’ve just included “Plex Media Server.log” to reduce the filesize. If you need all the logs, just ask and I’ll upload the full zip file with all of them.)

I’ve analyzed the logs myself a bit and found the following: Here are logs from the english only file:

We’re going to try to auto-select an audio stream for account 1.
Selecting best audio stream for part ID 609 (autoselect: 1 language: de)
We’re going to try to auto-select a subtitle.
Audio Stream: 2923, Subtitle Stream: -1

And here are the logs from the english and german file:

We’re going to try to auto-select an audio stream for account 1.
Selecting best audio stream for part ID 473 (autoselect: 1 language: de)
We’re going to try to auto-select a subtitle.
Selected a foreign audio track: ger
Subtitles: Found a candidate subtitle language [eng] for a foreign film
Audio Stream: 2048, Subtitle Stream: 2052

Note that the second logs show the line “Selected a foreign audio track: ger”. This is wrong, since I selected German as my main audio language. So it seems like the detection if an audio track is foreign or not is broken. If the first would be seen as foreign and the second wouldn’t, everything would work like it should.

Did someone with a Plex Pass test if this is fixed in the 1.15.6 beta?

Or do you have any new information @anon18523487 ?

No, still selects the wrong subtitles in 1.15.6.

@anon18523487 Could you please give us an update on this bug?

Still not fixed with 1.15.8.1198 :frowning:

@anon18523487 Do you need any additional information to get this bug fixed?

Still not fixed in PMS 1.16.0.1226.

It’s been nearly 3 months now. Can we please get an answer from someone from Plex?

I have filed this as a bug.

2 Likes