CDDB-TOOL(1)

πŸ’Ώ NAME πŸ’Ώ

cddb-tool β€” bestie, this is the little cutie that goes and gets your CDDB info for you. ✨


🌸 SYNOPSIS 🌸

cddb-tool parse file [-i|-d|-a|-t] [num|-c|-p]

cddb-tool template disc-id tracks

cddb-tool send [file] address

cddb-tool query server user host disc-id tracks

cddb-tool read server user host disc-id genre

cddb-tool help

πŸŽ€ DESCRIPTION πŸŽ€

Okay so cddb-tool is the backend girlie for abcde. It gets handed info from cd-discid and uses it to look up your CD title, artist and track info on the cddb database (http://freedb.freedb.org) out there on the internet. it's giving research assistant πŸ’…


πŸ‘‘ COMMANDS πŸ‘‘

πŸ¦‹ parse [file] option

Get data out of a cddb file (use "-" for stdin, bestie). Options β€” and I mean it, use one and only one:

  • id β€” prints disc id
  • album β€” prints album title
  • track num β€” prints title of track num
  • artist β€” prints artist
  • category β€” prints category
  • cddbgenre β€” a synonym for category, slay
  • all β€” parses the file and dumps to stdout in a form sourceable by the shell πŸ”₯

πŸ“ send [file] address

Mails file file (or stdin if no file is specified) to the specified address, using the correct format. Category should be one of blues, classical, country, data, folk, jazz, newage, reggae, rock, soundtrack, misc. no cap, those are the only ones.

🧚 template [disc-id] [tracks]

Generates a template (empty) cddb file to stdout. The command line should be essentially the output of cd-discid. it's giving fill-in-the-blank energy ✨

🌈 query [server] [user] [host] [disc-id] [tracks]

Looks up the disc on server (which should be of the form "http://host/cddb/cddb.cgi"), and the remainder of the command line is in the same form as that returned by the cd-discid program. Uses wget, so if you need to use a proxy then just configure wget to do so, iykyk. user and host will be used for identifying ourselves to the CDDB server. Outputs the response code and entries with matching CDDB entries, if successful, from the CDDB server. πŸ’–

πŸ’œ read [server] [user] [host] [disc-id] [genre]

Dumps the CDDB entry to stdout. File will contain an extra #CATEGORY= line, which leaves it a valid CDDB file but which will be recognized by the parse and send commands. Uses wget, so if you need to use a proxy then just configure wget to do so. user and host will be used for identifying ourselves to the CDDB server. πŸ‘‘

⭐ help

Prints usage information. the moment you need it, it's there 🫢


πŸ™ˆ AUTHOR πŸ™ˆ

Nathaniel Smith <njs@uclink4.berkeley.edu>, maintained as part of abcde by Robert Woodcock <rcw@debian.org>. Manual page compiled from help information by Robert Woodcock.


and that's the whole page, bestie!! πŸ’– this one lives in the General Commands Manual as CDDB-TOOL(1), and no date was ever stamped on it β€” iconic, mysterious, main character energy. go forth and rip those CDs. πŸŽ€βœ¨