[Abcde-users] "CD backups" produced with "abcde -1 -o flac -a default, cue" sometimes miss the first few frames
Roger
rogerx.oss at gmail.com
Sun Aug 11 17:34:24 BST 2013
> On Sun, Aug 11, 2013 at 05:16:01PM +0200, Nicolas Boullis wrote:
>Hi,
>
>I recently decided to backup some discs I own, and then convert them
>later to ogg/vorbis and mp3 files (I wish my mobile phone could play
>ogg/vorbis).
>
>Unfortunately, on most of the discs I backed up, the first track has a
>zeroth subtrack, with only a few frames (32 frames on most), that is not
>backed up by "abcde -1 -o flac -a default,cue". But the cuesheet is not
>modified to reflect this, so it is wrong.
Odd, "-a cue" doesn't seem to be listed within abcde -h.
>--- /usr/bin/abcde.distrib 2012-06-16 17:08:33.000000000 +0200
>+++ /usr/bin/abcde 2013-08-11 17:14:37.000000000 +0200
>@@ -2894,11 +2894,11 @@
> LASTTRACK=$(expr $3 + 0)
> UTRACKNUM=$FIRSTTRACK
> case "$CDROMREADERSYNTAX" in
>- flac) READTRACKNUMS="$FIRSTTRACK.1-$(($LASTTRACK + 1)).0" ;;
>+ flac) READTRACKNUMS="-" ;;
> cdparanoia)
> #XX FIXME XX
> # Add a variable to check if tracks are provided in command line and if not, use "0-" to rip the tracks
>- READTRACKNUMS="$FIRSTTRACK-$LASTTRACK" ;;
>+ READTRACKNUMS="0-" ;;
> cdda2wav | icedax) READTRACKNUMS="$FIRSTTRACK+$LASTTRACK" ;;
> *) echo "abcde error: $CDROMREADERSYNTAX does not support ONETRACK mode"
> exit 1 ;;
Does the last change seem to conflict with the comment above "# FIXME" comment?
In otherwords, maybe omitting the FIXME comment as it's irrelevant after
changing to it's suggested "0-" definition due to apparent failure?
Or, maybe something along the lines of:
if CHECK_SOME_VARIABLE 'doesn't do what I want' then READTRACKNUMS="0-"
(because 'READTRACKNUMS="$FIRSTTRACK-$LASTTRACK" isn't doing what I want?)
--
Roger
http://rogerx.freeshell.org/
More information about the Abcde-users
mailing list