Skip to content

Commit

Permalink
Make forced subtitles match only forced subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiRigal committed Aug 9, 2022
1 parent a032e92 commit 03ce7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plex_auto_languages/track_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _match_subtitle_stream(self, subtitle_streams: List[SubtitleStream]):
match_forced_only = True
language_code = self._audio_stream.languageCode
else:
match_forced_only = False
match_forced_only = self._subtitle_stream.forced
language_code = self._subtitle_stream.languageCode
# We only want stream with the same language code
streams = [s for s in subtitle_streams if s.languageCode == language_code]
Expand Down

0 comments on commit 03ce7a9

Please sign in to comment.