Section: User Commands (1)Index
cddb-tool - Get CDDB information
SYNOPSIScddb-tool parsefile [-i|-d|-a|-t] [num|-c|-p]
cddb-tool template disc-id tracks
cddb-tool send[file] address
cddb-tool queryserver user host disc-id tracks
cddb-tool readserver user host disc-id genre
cddb-tool is a backend tool for abcde. It is passed information fromcd-discid and uses it look up the CD title, artist, and track informationon the cddb database (http://freedb.freedb.org)
on the internet.
Get data out of a cddb file (use "-" for stdin).Options (use one and only one):
- prints disc id
- prints album title
- track num
- prints title of track num
- prints artist
- prints category
- synonym for category
- parse file and dumps to stdout in a form sourceable by the shell
Mails file file (or stdin of no file specified)to specified address, using correct format. Category shouldbe one of blues, classical, country, data, folk, jazz, newage,reggae, rock, soundtrack, misc.
Generates a template (empty) cddb file to stdout. The commandline should be essentially the output of cd-discid.
query[server] [user] [host] [disc-id] [tracks]
Looks up disc on server (should be of form "http://host/cddb/cddb.cgi")remainder of command line is in the same form as that returnedby the cd-discid program. Uses wget, so if you need to use a proxythen just configure wget to do so. user and host will be used foridentifying ourselves to the CDDB server. Outputs response code and entrieswith matching CDDB entries, if successful, from the CDDB server.
read[server] [user] [host] [disc-id] [genre]
Dumps CDDB entry to stdout. File will contain an extra #CATEGORY=line, which leaves it a valid CDDB file but which will be recognizedby parse and send commands. Uses wget, so if you need to use a proxythen just configure wget to do so. user and host will be used foridentifying ourselves to the CDDB server.
Prints usage information.
Nathaniel Smith <njsAATTuclink4.berkeley.edu>, maintained as part of abcde byRobert Woodcock <rcwAATTdebian.org>. Manual page compiled from help informationby Robert Woodcock.
This document was created byman2html,using the manual pages.