From 069c01a5232e4c862cc44066eb15be9879ea178d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 15 Feb 2012 22:45:20 +0100 Subject: cd2ogg /dev/scd0->/dev/sr0 --- cd2ogg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd2ogg b/cd2ogg index bca09f3..010332f 100755 --- a/cd2ogg +++ b/cd2ogg @@ -5,7 +5,7 @@ OGGOPTS=${OGGOPTS:="-b 192 -q 7"} -sudo cdda2wav -v trackid,titles -P 0 -n 75 -B -O wav dev=/dev/scd0 -L 1 || exit 1 +sudo cdda2wav -v trackid,titles -P 0 -n 75 -B -O wav dev=/dev/sr0 -L 1 || exit 1 DISCID=$(cat audio.cddb | gawk '/DISCID/ { split($0,a,"="); print a[2]; }') ARTIST=$(cat audio.cddb | gawk '/DTITLE/ { split($0,a,"="); i=index(a[2],"/"); print substr(a[2],0,i-2); }') -- cgit v1.1-2-g2b99