diff --git a/flac2mp3.sh b/flac2mp3.sh index 49e6c1c..08807ab 100755 --- a/flac2mp3.sh +++ b/flac2mp3.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # from http://www.linuxtutorialblog.com/post/solution-converting-flac-to-mp3 OUT_DIR=${OUT_DIR:="$HOME/tmp/mp3"} @@ -47,7 +47,7 @@ do OUTFILE="${OUT_DIR}/$ARTIST/${DATE}_$ALBUM/$MP3" mkdir -p "${OUT_DIR}/$ARTIST/${DATE}_$ALBUM" - flac -c -d "$FLAC" | lame ${lame_opts} - "$OUTFILE" + flac -c -d "$FLAC" | twolame ${lame_opts} - "$OUTFILE" id3v2 \ -a "$ARTIST" \