-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached is the latest collection of patches for ripping whole discs
with abcde, including shell-script versions of cue2discid and mkcue.

This is likely the last of the abcde patches I will be releasing.  I am
now patching the lower-level tools used by abcde (ie: toc2cue) and
hacking abcde to work with my local modifications:

- - Use cdrdao to extract a toc that includes index information
- - Use cdparanoia to rip the *WHOLE* disk, including any pregap
- - Use custom toc2cue to export a cue file that matches the rip of the
*WHOLE* disk, above.

Attached is a tarball of 5 patches and a README file.  For reference,
the README.patches file is included here:

Patches apply to abcde VERSION='2.3.99-$Revision: 208 $'

abcde.cdrom.patch
Adds double-quoting around the shell variable CDROM to allow for FLAC
filenames containing spaces or other shell special characters.

abcde.cuefile.patch
Uses IFS manipulation to preserve whitespace when adding metadata to
cuefile.

abcde.toolame.patch
Fixes toolame support (the only MP3 encoder available in Debian by
default).

abcde.mkcue.patch
Adds abcde.mkcue function to abcde, which creates a cue file from
(already created) cd-discid information.  This also modifies the
checkexec function to look for abcde.function "executables" as
shell functions (using type) instead of executable files in the
path (using which).  To use, set MKCUE=abcde.mkcue in your
abcde.conf file.

NOTE: The abcde.mkcue function supports a --wholedisk switch, which
if set will generate an INDEX 00 entry for any disc pregap (otherwise
you get a PREGAP entry in the cue sheet)

If:
  You do *NOT* use the --wholedisk switch
  and
  your disc has a pregap (audio samples before the start of track 1)
  and
  you are embedding the resulting cue sheet into a flac file
then:
  metaflac will eat the PREGAP setting, causing the cddb query
  generated from the extracted cue sheet to fail

I suggest ripping the entire disk (including pregap, if any) and
passing the --wholedisk switch to abcde.mkcue!

abcde.cue2discid.patch
Adds abcde.cue2discid function to abcde, which creates an extended
cddb query from a cue file embedded in a flac file.  Requires the
above abcde.mkcue.patch (to patch checkexec function for built-in
abcde.functions).  Creation of the full cddb query requires knowing
where the disc leadout begins, which is typically *NOT* provided in
most cue files (cue sheets embedded in flac files have a comment
field listing the leadout).  To use, set CUE2DISCID=abcde.cue2discid
in your abcde.conf file.

TODO:
- - It might be useful if the abcde.mkcue function added a comment in
the resulting cue file containing the leadout position.  This would
allow the resulting cue file to be used directly to create a cddb
query, without needing the associated data file (to figure out the
length of the audio, which implies the leadout position).

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFE0261enk4xp+mH40RAhgtAKCyacFW45+6FW+MHk2vX92o0jr93ACg6BBB
16/20wXZW54zIkKT4dkdnPM=
=FyHc
-----END PGP SIGNATURE-----

Attachment: abcde.patch2.tgz
Description: application/compressed

Reply via email to