From 44fddaf5bb866733f1fa1ece9666e749a83c2d13 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 18 Sep 2016 19:26:53 +0200 Subject: [PATCH] Fix twolame option --- flac2mp3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flac2mp3.sh b/flac2mp3.sh index 08807ab..4139ecd 100755 --- a/flac2mp3.sh +++ b/flac2mp3.sh @@ -6,7 +6,7 @@ OUT_DIR=${OUT_DIR:="$HOME/tmp/mp3"} # modify the lame options to your # preference -lame_opts=" --vbr-new -V 2 -B 256 " +lame_opts=" --vbr -V 2 -B 256 " for x in "${@}" do @@ -47,7 +47,7 @@ do OUTFILE="${OUT_DIR}/$ARTIST/${DATE}_$ALBUM/$MP3" mkdir -p "${OUT_DIR}/$ARTIST/${DATE}_$ALBUM" - flac -c -d "$FLAC" | twolame ${lame_opts} - "$OUTFILE" + flac -c -d "$FLAC" | twolame -r ${lame_opts} - "$OUTFILE" id3v2 \ -a "$ARTIST" \