Fix twolame option
This commit is contained in:
parent
ca2599640b
commit
44fddaf5bb
@ -6,7 +6,7 @@ OUT_DIR=${OUT_DIR:="$HOME/tmp/mp3"}
|
|||||||
|
|
||||||
# modify the lame options to your
|
# modify the lame options to your
|
||||||
# preference
|
# preference
|
||||||
lame_opts=" --vbr-new -V 2 -B 256 "
|
lame_opts=" --vbr -V 2 -B 256 "
|
||||||
|
|
||||||
for x in "${@}"
|
for x in "${@}"
|
||||||
do
|
do
|
||||||
@ -47,7 +47,7 @@ do
|
|||||||
|
|
||||||
OUTFILE="${OUT_DIR}/$ARTIST/${DATE}_$ALBUM/$MP3"
|
OUTFILE="${OUT_DIR}/$ARTIST/${DATE}_$ALBUM/$MP3"
|
||||||
mkdir -p "${OUT_DIR}/$ARTIST/${DATE}_$ALBUM"
|
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 \
|
id3v2 \
|
||||||
-a "$ARTIST" \
|
-a "$ARTIST" \
|
||||||
|
Loading…
Reference in New Issue
Block a user