From e6677f9723fa5f086038bfa03c3b97cb29dc9cff Mon Sep 17 00:00:00 2001 From: Meutel Date: Fri, 9 Dec 2016 22:26:39 +0100 Subject: [PATCH] Fix flac to mp3 (lame) --- flac2mp3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flac2mp3.sh b/flac2mp3.sh index 4139ecd..af6ef7c 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 -V 2 -B 256 " +lame_opts=" --vbr-new -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 -r ${lame_opts} - "$OUTFILE" + flac -c -d "$FLAC" | lame ${lame_opts} - "$OUTFILE" id3v2 \ -a "$ARTIST" \