From e49c49e6d06a049020c53475c4183ad705aff733 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 22 Apr 2024 12:50:40 +0200 Subject: [PATCH] add more verbose --- bin/mastering/mastering.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mastering/mastering.py b/bin/mastering/mastering.py index 1741423..d8816f8 100755 --- a/bin/mastering/mastering.py +++ b/bin/mastering/mastering.py @@ -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: -- 2.39.5