]> git.parisson.com Git - telecaster-server.git/commitdiff
add more verbose
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 22 Apr 2024 10:50:40 +0000 (12:50 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 22 Apr 2024 10:50:40 +0000 (12:50 +0200)
bin/mastering/mastering.py

index 1741423cff2ef1c258fceac50736ba15a082b63a..d8816f80d48219e551f85289c57b841602c7483b 100755 (executable)
@@ -131,7 +131,9 @@ class TeleCasterMastering(object):
 
                 command = 'ffmpeg -loglevel 0 ' + ffmpeg_args_in + ' -i "' + file + '" ' + ffmpeg_args['out'] +' -y "' + dest + '"'
 
-                print(command)
+                if self.verbose_mode:
+                    print(command)
+
                 self.logger.logger.info(command)
 
                 if not self.dry_run: