mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
postprocess: when merge subtitle into file remove it
fixes: 1427
This commit is contained in:
parent
b8d51a7dcd
commit
a03fabc5ab
@ -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") and not self.config.get("subtitle"):
|
||||
if self.config.get("merge_subtitle"):
|
||||
if self.subfixes and len(self.subfixes) >= 2:
|
||||
for subfix in self.subfixes:
|
||||
subfile = orig_filename.parent / (orig_filename.name + "." + subfix + ".srt")
|
||||
|
Loading…
Reference in New Issue
Block a user