]> git.parisson.com Git - telecaster-server.git/commitdiff
remux webm only
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Tue, 23 Apr 2024 15:46:00 +0000 (17:46 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 13 Sep 2024 10:03:38 +0000 (12:03 +0200)
bin/mastering/mastering.py

index f032dba4c49f766f4d069c6bc0d4b5130bef1755..c0eefb7aa8b72de14b9c3ebb21a6ea64b639ddb1 100755 (executable)
@@ -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: