CDTOOL2CDDB(1)

πŸ’Ώ CDTOOL2CDDB β€” the cdtool manual, section 1 ✨

okay so bestie, welcome to the glow-up era of your .cdtooldb files πŸ¦‹ this one lives in the cdtool manual family, section 1, and it's literally the bridge between your old-school cd database and the whole CDDB universe.


🌸 NAME 🌸

cdtool2cddb β€” convert .cdtooldb file to set of CDDB files πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

cdtool2cddb [-rvx] [-d dir] [-l len] [input...]

✨ DESCRIPTION ✨

okay so here's the vibe: cdtool2cddb takes one or more .cdtooldb files and converts them into CDDB-format files that you can actually use with a ton of CD player applications. no cap, it's giving translator energy.

the output is a whole set of files, and each one is named after the 32-bit hexadecimal CDDB ID number of a given audio CD. iconic naming scheme tbh.

where do they land? in the current directory, unless you pass -d and tell it somewhere else to go. periodt. πŸ“


πŸ’– OPTIONS πŸ’–

  • -d directory β€” specify the output directory 🫢 this is where the 8-digit output filenames go. there will be one file for each CD definition in your .cdtooldb file(s). one per CD, no skipping, no merging.
  • -l length β€” specify the maximum line length for the output file πŸ“ so like, comment lines may be any length they want, they're free spirits, but the CDDB format specifies that data lines must wrap at 76 characters. so that's the default for cdtool2cddb, bestie. but you may change it if you wish. your call, your rules. πŸ’…
  • -r β€” okay so at least one CD player application (hi groovycd πŸ‘‹) requires lines of its CDDB files to end with CR-LF, because they come over the network that way. the -r option tells cdtool2cddb to output such lines; otherwise lines will end with LF only. choose your line ending, choose your destiny. 😭
  • -v β€” increment the verbosity level πŸ“’ (yes, you can stack it. more -v, more talking.)
  • -x β€” use an alternate identification string in the output file πŸ‘€ so here's the tea: if you wish to upload a CDDB file to a CDDB server via e-mail, the server will probably check the ID string in the file to make sure it is from a "trusted" CD player application. and like… cdtool is not trusted πŸ˜” but xmcd is. so the -x option pretends we are xmcd. it's giving fake ID but make it software. πŸͺͺ✨

πŸ¦‹ FILES πŸ¦‹

  • ~/.cdtooldb β€” a typical cdtooldb input file 🌸
  • /var/lib/cddb/misc, ~/.groovycd β€” typical output directories (see -d). πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

cdir(1), cdown(1), cdadd(1) β€” go read those too, they're part of the family πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Peter Samuelson <peter@cadcamlab.org> β€” legend behavior, fr fr 🫑


and that's the whole page, bestie πŸ’– written by the CDTOOL crew, dated 10 December 2000, and filed under CDTOOL2CDDB(1). slay, go convert something. 🌈⭐