]> git.parisson.com Git - telecaster-server.git/commitdiff
master only source formats
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 22 Sep 2024 21:00:59 +0000 (23:00 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 22 Sep 2024 21:00:59 +0000 (23:00 +0200)
bin/mastering/mastering.py

index 7e8b095167c30a6b16e03e70a440ca9193ea6b63..b6fedba47c5e38ef75f12bc21d03ec47e01fba1a 100755 (executable)
@@ -170,7 +170,7 @@ class TeleCasterMastering(object):
                 source_files = []
                 for file in dir_files:
                     filename, ext = os.path.splitext(path + os.sep + file)
-                    if ext[1:] in self.raw_source_formats:
+                    if ext[1:] in self.raw_source_formats or ext[1:] in self.source_formats:
                         source_files.append(path + os.sep + file)
 
                 if self.verbose_mode: