|
|
@ -287,7 +287,7 @@ def _check_hi_fallback(streams, languages):
|
|
|
|
logger.debug("Checking HI fallback for '%r' language", language)
|
|
|
|
logger.debug("Checking HI fallback for '%r' language", language)
|
|
|
|
|
|
|
|
|
|
|
|
streams_ = [
|
|
|
|
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:
|
|
|
|
if len(streams_) == 1 and streams_[0].disposition.hearing_impaired:
|
|
|
|
stream_ = streams_[0]
|
|
|
|
stream_ = streams_[0]
|
|
|
|