]> git.parisson.com Git - telecaster-server.git/commitdiff
offset only with option 3.0.1
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 22 Apr 2024 08:22:23 +0000 (10:22 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 22 Apr 2024 08:22:23 +0000 (10:22 +0200)
bin/mastering/mastering.py

index 54e499f5ea120f6fe2f5334c7fb9c5130d515663..dde579ee6203ceb185b6a27143237c4b0a015ce9 100755 (executable)
@@ -152,9 +152,9 @@ class TeleCasterMastering(object):
 
                 if source_files:
                     offsets = {}
-                    if len(source_files) > 1:
+                    if len(source_files) > 1 and self.auto_offset_mode:
                         offsets = self.find_best_offset(source_files)
-                        print(offsets)
+                        print(offsets)
                     for file in source_files:
                         path = os.path.abspath(file)
                         filename, ext = os.path.splitext(file)