From: Guillaume Pellerin Date: Tue, 23 Apr 2024 15:46:00 +0000 (+0200) Subject: remux webm only X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7e53f5b92351cd7c9b20fbdc5c6d603cde6c443f;p=telecaster-server.git remux webm only --- 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: