cd-discid man page
cd-discid — read CD and get CDDB discid information
In order to do CDDB queries over the Internet, you must know the DiscID of the CD you are querying. cd-discid provides you with that information. It outputs the discid, the number of tracks, the frame offset of all of the tracks, and the total length of the CD in seconds, on one line in a space-delimited format. cd-discid was designed as a backend tool for cdgrab (now abcde) but will work independently of it.
Output a TOC that is suitable for calculating the MusicBrainz disc id.
Display a brief help message.
Show the version.
CD-ROM block device name that contains the CD to be queried. If this option is omitted, the following device name is assumed:
Linux and FreeBSD
OpenBSD and NetBSD
Robert Woodcock <email@example.com>. Updates by Timur Bish <firstname.lastname@example.org>.