diff options
author | pannal <[email protected]> | 2024-10-10 19:19:08 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-10 13:19:08 -0400 |
commit | f50bcf34ac3c246d21a69dc3cc2f2eba63314c21 (patch) | |
tree | e8cf331791b055e933d2e9b863f93e1fcbfbaecb /custom_libs/subliminal_patch | |
parent | 74249eeb4c826f55fc3ffa966c2d3881b9372c14 (diff) | |
download | bazarr-f50bcf34ac3c246d21a69dc3cc2f2eba63314c21.tar.gz bazarr-f50bcf34ac3c246d21a69dc3cc2f2eba63314c21.zip |
Fixed bad non-HI detection with embedded provider when forced subtitles availablev1.4.6-beta.2
Diffstat (limited to 'custom_libs/subliminal_patch')
-rw-r--r-- | custom_libs/subliminal_patch/providers/embeddedsubtitles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/embeddedsubtitles.py b/custom_libs/subliminal_patch/providers/embeddedsubtitles.py index 2d8a492c7..943607735 100644 --- a/custom_libs/subliminal_patch/providers/embeddedsubtitles.py +++ b/custom_libs/subliminal_patch/providers/embeddedsubtitles.py @@ -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] |