Use OnMultiplex for auto SDH-strip subtitle

This commit is contained in:
rlaphoenix 2023-02-25 22:00:44 +00:00
parent fe320e177d
commit 73b68fe7fe
1 changed files with 1 additions and 1 deletions

View File

@ -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"):