From 7e53f5b92351cd7c9b20fbdc5c6d603cde6c443f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 23 Apr 2024 17:46:00 +0200 Subject: [PATCH] remux webm only --- bin/mastering/mastering.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mastering/mastering.py b/bin/mastering/mastering.py index f032dba..c0eefb7 100755 --- a/bin/mastering/mastering.py +++ b/bin/mastering/mastering.py @@ -192,7 +192,8 @@ class TeleCasterMastering(object): ext = ext[1:] date_dir = datetime.datetime.fromtimestamp(os.path.getmtime(file)) if ext in self.source_formats and date_dir >= self.date_limit: - self.remux(file) + if ext == "webm": + self.remux(file) offset = None if offsets: if not file in offsets: -- 2.39.5