FreeBSD compat
This commit is contained in:
parent
0ab2c69d62
commit
ca2599640b
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# from http://www.linuxtutorialblog.com/post/solution-converting-flac-to-mp3
|
# from http://www.linuxtutorialblog.com/post/solution-converting-flac-to-mp3
|
||||||
|
|
||||||
OUT_DIR=${OUT_DIR:="$HOME/tmp/mp3"}
|
OUT_DIR=${OUT_DIR:="$HOME/tmp/mp3"}
|
||||||
@ -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" | lame ${lame_opts} - "$OUTFILE"
|
flac -c -d "$FLAC" | twolame ${lame_opts} - "$OUTFILE"
|
||||||
|
|
||||||
id3v2 \
|
id3v2 \
|
||||||
-a "$ARTIST" \
|
-a "$ARTIST" \
|
||||||
|
Loading…
Reference in New Issue
Block a user