Server Version#: Version 1.14.1.5488
Manually selecting an audio track in the Android TV app, Plex Web, Roku and possibly others automatically enables subtitles.
I encode most of my video files as an MP4 with a stereo AAC track as the first audio track, and a surround AC3 track as the second track. Language tags for both tracks are properly embedded in the file. I also include an external srt file for subtitles.
To replicate this malfunction, you need a video file with two audio tracks and an external srt subtitle file. Before the video plays, manually select an audio track. It can even be the default track already selected. The pre-play screen will now show that the Audio selection has changed to the selected audio track, but annoyingly, the subtitle track has also been enabled.
I’ve re-produced the error dozens of times, so it’s not likely a one time glitch, or user error.
I’ve attached the XML for the same file before and after the audio selection was made. An excerpt from the first XML file, before an audio track selection was made
Stream id="2800269" streamType="2" selected="1" default="1" codec="aac" language="English"
Stream id="2800270" streamType="2" default="1" codec="ac3" language="English"
Stream id="2800271" streamType="3" codec="srt" language="English"
I believe that shows that the stereo AAC track is selected as the audio, and subtitles are not enabled.
This is the XML excerpt after the audio selection was made:
Stream id="2800269" streamType="2" default="1" codec="aac" index="1" language="English"
Stream id="2800270" streamType="2" selected="1" default="1" codec="ac3" language="English"
Stream id="2800271" streamType="3" selected="1" codec="srt" language="English"
Which shows that the selected audio track is now the AC3 audio track, but also indicates that the subtitle track is now enabled.
The video will now apply those settings to all apps, and play the surround audio and display the subtitles. You can, of course, disable the subtitles, by disabling them again in the settings.
I apologize if this has been reported previously - I couldn’t find a result in a search regarding this bug.
Server logs also attached.
XML_Files.zip (3.3 KB)
Plex Media Server Logs_2019-01-15_08-46-58.zip (4.5 MB)
Note: this also affects MKV files that have an embedded srt file within the mkv itself.

