summaryrefslogtreecommitdiffstats
path: root/cd2ogg
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-15 22:45:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-15 22:45:20 +0100
commit069c01a5232e4c862cc44066eb15be9879ea178d (patch)
treea3d8d80cc8c47a6f41e002167f70f928253238db /cd2ogg
parentfbbab16e27946134199239d318afae40d08b3dbb (diff)
downloadbin-069c01a5232e4c862cc44066eb15be9879ea178d.zip
bin-069c01a5232e4c862cc44066eb15be9879ea178d.tar.gz
cd2ogg /dev/scd0->/dev/sr0
Diffstat (limited to 'cd2ogg')
-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); }')