[Abcde-users] Problem with 'abcde -d disc.flac'

Matthias König mk at silverserver.at
Tue Nov 13 19:17:48 GMT 2018


On Tue, 13 Nov 2018 07:59:47 +0100
Bjørn Forsman <bjorn.forsman at gmail.com> wrote:

> Hi all,
> 
> My name is Bjørn and I'm in the process of importing/backing up all my
> CDs to my computer (surprise!).
> 
> In the manual, I find the 'abcde -1 -o flac -a default,cue' command.
> This seems like my best option since it preserves the whole CD (AFAIK)
> and allows encoding to different formats later, e.g. 'abcde -d
> disc.flac -o mp3'.
> 
> However:
> 
> $ abcde -d October.flac -o mp3
> Grabbing entire CD - tracks:  01 02 03 04 05 06 07 08 09 10 11
> MusicBrainz lookup returned an error "Not Found"
> Selected: # (template) (Unknown Artist / Unknown Album)
> ---- Unknown Artist / Unknown Album ----
> 1: Track 1
> 2: Track 2
> [...]
> 
> It doesn't see the that this is my U2-October album, and will not tag
> the mp3s correctly :-(  (It did work work correctly when doing 'abcde
> -o mp3' though, but that doesn't help much since I'd like to keep a
> master copy.)
> 
> Looking in the ML archive I find the "Musicbrainz lookup from flac
> image" post[1]. I apply that patch[2] but still I'm getting that
> "Musicbrainz lookup" error when running against the disc.flac image.
> 
> In the abcde manual I also find the '-C [discid]' flag. But that
> doesn't work either:
> 
> $ abcde -d October.flac -o mp3 -C a309a30b
> cat: /home/bf/Music/U2-October/abcde.a309a30b/cddbdiscid: No such file
> or directory
> [INFO] The disc does not contain any tracks. Giving up...
> 
> (Looking at that output, I guess I had wrong expectations for the -C
> option. It clearly relies on something other than the flac image.)
> 
> Is there anyone here who knows how to make abcde work for this use
> case? I'd like to backup the CDs with the ability to make e.g. mp3s
> from that backup later (with tagging).
> 
> Best regards,
> Bjørn Forsman
> 
> [1] "Musicbrainz lookup from flac image",
> https://lists.einval.com/pipermail/abcde-users/2018-May/000295.html
> [2] Inlined patch from [1], for easy reference:
> --- abcde-x/abcde.backup        2018-05-09 02:24:15.694982336 +0200
> +++ abcde-x/abcde       2018-05-09 02:30:35.394746166 +0200
> @@ -517,6 +517,11 @@
>         COOKEDOFFSETS="${COOKEDOFFSETS:1}"  # eat the leading space
> 
>         PREGAP=$(echo $OFFSETS | cut -f1 -d' ')
> +
> +       if [ "$CDROMREADERSYNTAX" = "flac" ]; then
> +               LEADOUT=$((LEADOUT - PREGAP))
> +       fi
> +
>         TOTALTIME=$(( (($LEADOUT + $LEADIN + $PREGAP) / $CDFRAMES) -
> (($LEADIN + $PREGAP) / $CDFRAMES)))
> 
>         vvecho "makeids: PREGAP $PREGAP, LEADIN $LEADIN, LEADOUT
> $LEADOUT"
> 
> _______________________________________________
> Abcde-users mailing list
> Abcde-users at lists.einval.com
> https://lists.einval.com/cgi-bin/mailman/listinfo/abcde-users

Hi,

Which version of abcde do you use? Did you try the latest snapshot?
Does the problem occur with all CDs or only with one or with some?

Matthias



More information about the Abcde-users mailing list