Skip to content

Commit

Permalink
Fixed bad non-HI detection with embedded provider when forced subtitl…
Browse files Browse the repository at this point in the history
…es available
  • Loading branch information
pannal authored Oct 10, 2024
1 parent 74249ee commit f50bcf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def _check_hi_fallback(streams, languages):
logger.debug("Checking HI fallback for '%r' language", language)

streams_ = [
stream for stream in streams if stream.language.alpha3 == language.alpha3
stream for stream in streams if stream.language.alpha3 == language.alpha3 and stream.language.forced == language.forced
]
if len(streams_) == 1 and streams_[0].disposition.hearing_impaired:
stream_ = streams_[0]
Expand Down

0 comments on commit f50bcf3

Please sign in to comment.