Change deprecated args.quiet to args.verbose

This commit is contained in:
Ritiek Malhotra
2017-06-12 21:23:10 +05:30
committed by GitHub
parent f14633f3c4
commit 0d0d9a9515

View File

@@ -191,10 +191,10 @@ def convertWithFfmpeg(music_file):
# on MacOS brew install ffmpeg --with-fdk-aac will do just that. Other OS?
# https://trac.ffmpeg.org/wiki/Encode/AAC
#
if args.quiet:
ffmpeg_pre = 'ffmpeg -hide_banner -nostats -v panic -y '
else:
if args.verbose:
ffmpeg_pre = 'ffmpeg -y '
else:
ffmpeg_pre = 'ffmpeg -hide_banner -nostats -v panic -y '
if input_ext == '.m4a':
if output_ext == '.mp3':