dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit bbcd6372680ef240885f9d41a845a0dfd68af105
parent d55f8945e1154b18fd97a1c28323b5b58e07da95
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 28 Dec 2018 22:34:37 +0100

Use mpg123 as fallback for lame

Diffstat:
Mlinks/bin/burn-audio-cd.sh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/links/bin/burn-audio-cd.sh b/links/bin/burn-audio-cd.sh @@ -27,7 +27,9 @@ for f in "$@"; do outwav="$(basename "$f" "$extension").wav" if [ "$extension" = "mp3" ]; then - lame --decode "$f" "$outwav" + lame --decode "$f" "$outwav" || \ + mpg123 --rate 44100 --stereo --buffer 3072 --resync -w \ + "$outwav" "$f" elif [ "$extension" = "m4a" ]; then faad "$f" fi