diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-15 22:45:20 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-15 22:45:20 +0100 |
commit | 069c01a5232e4c862cc44066eb15be9879ea178d (patch) | |
tree | a3d8d80cc8c47a6f41e002167f70f928253238db | |
parent | fbbab16e27946134199239d318afae40d08b3dbb (diff) | |
download | bin-069c01a5232e4c862cc44066eb15be9879ea178d.zip bin-069c01a5232e4c862cc44066eb15be9879ea178d.tar.gz |
cd2ogg /dev/scd0->/dev/sr0
-rwxr-xr-x | cd2ogg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); }') |