CD-DISCID(1)

πŸŽ€ CD-DISCID β€” bestie's guide to reading CDs and getting that CDDB discid ✨

okay so real talk, this page is from the General Commands Manual family, and it's literally the cutest little backend tool you'll ever meet 🫢


πŸ’– NAME πŸ’–

cd-discid β€” read a CD and grab the CDDB discid info off it, no cap πŸ“€


✨ SYNOPSIS ✨

cd-discid [option...]

🌸 DESCRIPTION 🌸

so here's the situation, bestie: if you wanna do CDDB queries over the Internet, you have to know the DiscID of the CD you're asking about. like, there's no way around it. and that's exactly what cd-discid hands you πŸ’…

it outputs all of this:

  • the discid
  • the number of tracks
  • the frame offset of all of the tracks
  • the total length of the CD in seconds

...all on one single line, space-delimited, clean, iconic, periodt 🌈

fun fact: cd-discid was designed as a backend tool for cdgrab (which is now abcde), but it will work independently of it too. so like, it doesn't need its situationship to function 😌


πŸ’… OPTIONS πŸ’…

  • --musicbrainz β€” outputs a TOC that's suitable for calculating the MusicBrainz disc id. different id system, same slay energy ✨
  • --help β€” shows you a brief help message. short, sweet, helpful πŸŽ€
  • --version β€” shows the version. gotta know what you're working with, fr fr
  • devicename β€” this is the CD-ROM block device name that contains the CD you wanna query. and bestie, if you omit this option, the following device name is just assumed for you:
    • /dev/cdrom β€” Linux and FreeBSD 🐧
    • /dev/cd0a β€” OpenBSD and NetBSD πŸ¦‹
    • /dev/vol/aliases/cdrom0 β€” Solaris β˜€οΈ
    • /dev/disk1 β€” MacOS X 🍎
    • /dev/cd0 β€” Hurd 🌟
heads up: those paths above are the defaults β€” if you don't pass a devicename, that's what gets used, so make sure the right one actually exists on your system before you come for me πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Robert Woodcock <rcw@debian.org>. Updates by Timur Bish <taem@linukz.org> πŸ’œ


and that's the whole page, bestie 🫢 this beauty is dated 2012-09-28 β€” an absolute icon of the General Commands Manual era, and honestly? it still ate πŸ’–βœ¨

πŸ“¦ where this page comes from