From 73b68fe7fec692236e88323dc4faa7aad2ecee72 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sat, 25 Feb 2023 22:00:44 +0000 Subject: [PATCH] Use OnMultiplex for auto SDH-strip subtitle --- devine/commands/dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/commands/dl.py b/devine/commands/dl.py index dea682c..ea1d962 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -329,7 +329,7 @@ class dl: non_sdh_sub = deepcopy(subtitle) non_sdh_sub.id += "_stripped" non_sdh_sub.sdh = False - non_sdh_sub.OnDownloaded = lambda x: x.strip_hearing_impaired() + non_sdh_sub.OnMultiplex = lambda x: x.strip_hearing_impaired() title.tracks.add(non_sdh_sub) with console.status("Sorting tracks by language and bitrate...", spinner="dots"):