From 770ae2d6f60d57d5a119b7158f07b8bb06656dac Mon Sep 17 00:00:00 2001 From: Vitiko Date: Wed, 18 May 2022 00:16:55 -0400 Subject: [PATCH] Embedded Subtitles provider: fix cached streams with HI fallback Fix #1884 --- libs/subliminal_patch/providers/embeddedsubtitles.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/subliminal_patch/providers/embeddedsubtitles.py b/libs/subliminal_patch/providers/embeddedsubtitles.py index d738ee024..0cff01a8e 100644 --- a/libs/subliminal_patch/providers/embeddedsubtitles.py +++ b/libs/subliminal_patch/providers/embeddedsubtitles.py @@ -254,6 +254,7 @@ def _check_hi_fallback(streams, languages): streams_[0], ) streams_[0].disposition.hearing_impaired = False + streams_[0].disposition.generic = True elif all(stream.disposition.hearing_impaired for stream in streams_): for stream in streams_: @@ -262,6 +263,7 @@ def _check_hi_fallback(streams, languages): stream, ) stream.disposition.hearing_impaired = False + stream.disposition.generic = True else: logger.debug("HI fallback not needed: %s", streams_)