cdda2track(1) extract audio files

SYNOPSIS

cdda2track [OPTIONS] [track 1] [track 2] ...

DESCRIPTION

cdda2track extracts audio files from a compact disc and encodes them to tracks. If track numbers are given, extracts only those tracks. Otherwise, extracts the entire disc.

OPTIONS

-h, --help
show a list of options and exit
-I, --interactive
edit metadata and encoding options in interactive mode prior to extracting disc
-c, --cdrom=CDROM
the CD-ROM device to extract audio from
-s, --speed=SPEED
the speed to extract audio data at
-V, --verbose=VERBOSITY
The level of output to display. Choose between 'normal', 'quiet' and 'debug'.

EXTRACTION OPTIONS

-t, --type=TYPE
The audio format of the extracted audio tracks. For a list of available audio formats, try: -t help.
-q, --quality=QUALITY
The desired quality of the extracted tracks. For a list of available quality modes for a given format, try: -q help
-d, --dir=DIRECTORY
The target directory for the extracted tracks. If none is given, the current working directory is used. If the target directory does not exist, it will be created automatically.
--format=STRING
The format string to use for new filenames. Template fields are replaced with metadata values when new tracks are created. All other text is left as-is. If this option is omitted, a default format string is used.

CD LOOKUP OPTIONS

--musicbrainz-server=HOSTNAME
the MusicBrainz server name to query for metadata
--musicbrainz-port=PORT
the MusicBrainz port to query for metadata
--no-musicbrainz
don't query MusicBrainz for metadata
--freedb-server=HOSTNAME
the FreeDB server name to query for metadata
--freedb-port=PORT
the FreeDB port to query for metadata
--no-freedb
don't query FreeDB for metadata
-D, --default
When multiple metadata choices are available, select the first one automatically. This option has no effect when used with -I

METADATA OPTIONS

--album-number=NUMBER
the album number of this CD, if it is one in a series of albums
--album-total=NUMBER
the total number of albums in this CD's set, if it is one in a series of albums
--replay-gain
add ReplayGain metadata to newly created tracks
--no-replay-gain
do not add ReplayGain metadata to newly created tracks

ACCURATERIP

Extracted tracks are automatically verified against AccurateRip's online database. The confidence level is the number of other people who have the same rip, so a larger value indicates one's own rip is consistent with those of others. However, not finding one's rip in the AccurateRip database does not necessarily mean the rip is bad; the CD may be new, rare, or a different pressing than the one in the database.

EXAMPLE

Extract all of the tracks from /dev/cdrom as FLAC files at the default quality:

cdda2track -t flac -c /dev/cdrom

FORMAT STRING FIELDS


Template Fields
KeyValue


%(track_number)2.2dthe track's number on the CD
%(track_total)dthe total number of tracks on the CD
%(album_number)dthe CD's album number
%(album_total)dthe total number of CDs in the set
%(album_track_number)scombination of album and track number
%(track_name)sthe track's name
%(album_name)sthe album's name
%(artist_name)sthe track's artist name
%(performer_name)sthe track's performer name
%(composer_name)sthe track's composer name
%(conductor_name)sthe track's conductor name
%(media)sthe track's source media
%(ISRC)sthe track's ISRC
%(catalog)sthe track's catalog number
%(copyright)sthe track's copyright information
%(publisher)sthe track's publisher
%(year)sthe track's publication year
%(date)sthe track's original recording date
%(suffix)sthe track's suffix
%(basename)sthe track's original name, without suffix

AUTHOR

Brian Langenberger