|
NAMEcddb-tool - Get CDDB informationSYNOPSIScddb-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 DESCRIPTIONcddb-tool is a backend tool for abcde. It is passed information from cd-discid and uses it look up the CD title, artist, and track information on the cddb database (http://freedb.freedb.org) on the internet.COMMANDSparse [file] optionGet data out of a cddb file (use "-" for stdin). Options (use one and only one):
send [file] address Mails file file (or stdin of no file specified) to specified address, using correct format. Category should be one of blues, classical, country, data, folk, jazz, newage, reggae, rock, soundtrack, misc. template [disc-id] [tracks] Generates a template (empty) cddb file to stdout. The command line 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 returned by the cd-discid program. 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. Outputs response code and entries with 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 recognized by 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. AUTHORNathaniel 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. Visit the GSP FreeBSD Man Page Interface. |