From: epg <> Date: Tue, 13 Apr 2004 04:03:49 +0000 (+0000) Subject: Try counting audio track lines in the cue file for the number of the X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/2558e29a24ce800a36b3d7515804c61805bdd908?ds=inline Try counting audio track lines in the cue file for the number of the last track instead of $discid[2]. This seems to work better (so far) for discs with data tracks. --- diff --git a/fa-rip b/fa-rip index 55b2fb2..a97e90c 100755 --- a/fa-rip +++ b/fa-rip @@ -33,4 +33,4 @@ eval fa-tags $discid & cdrdao read-toc --device ${CDDEV} --driver generic-mmc toc toc2cue toc cue & -exec cdparanoia -d ${CDDEV} 1-$discid[2] wav +exec cdparanoia -d ${CDDEV} 1-$(grep -c 'TRACK.*AUDIO' cue) wav