1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

Revert "postprocess: when merge subtitle into file remove it"

This reverts commit a03fabc5ab.
This commit is contained in:
iwconfig 2021-11-25 10:40:54 +01:00 committed by Johan Andersson
parent 14e1e6585c
commit 4c90677089

View File

@ -121,7 +121,7 @@ class postprocess:
if (self.stream.audio and self.config.get("only_audio")) or (self.stream.audio and not self.config.get("only_video")):
os.remove(audio_filename)
if self.config.get("merge_subtitle"):
if self.config.get("merge_subtitle") and not self.config.get("subtitle"):
if self.subfixes and len(self.subfixes) >= 2:
for subfix in self.subfixes:
subfile = orig_filename.parent / (orig_filename.stem + "." + subfix + ".srt")