summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcd2ogg2
1 files changed, 1 insertions, 1 deletions
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); }')