.TH CD\-DISCID 1 2012-09-28 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME cd\-discid \- read CD and get CDDB discid information .SH SYNOPSIS .B cd\-discid .RI [ option ...] .SH DESCRIPTION In order to do CDDB queries over the Internet, you must know the DiscID of the CD you are querying. .BR 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. .BR cd-discid was designed as a backend tool for cdgrab (now .BR abcde ) but will work independently of it. .SH OPTIONS .TP .B --musicbrainz Output a TOC that is suitable for calculating the MusicBrainz disc id. .TP .B --help Display a brief help message. .TP .B --version Show the version. .TP .B devicename CD\-ROM block device name that contains the CD to be queried. If this option is omitted, the following device name is assumed: .RS .IP \fI/dev/cdrom\fP Linux and FreeBSD .IP \fI/dev/cd0a\fP OpenBSD and NetBSD .IP \fI/dev/vol/aliases/cdrom0\fP Solaris .IP \fI/dev/disk1\fP MacOS X .IP \fI/dev/cd0\fP Hurd .SH AUTHOR Robert Woodcock . Updates by Timur Bish .