1CDDB-TOOL(1) General Commands Manual CDDB-TOOL(1)
2
3
4
6 cddb-tool - Get CDDB information
7
9 cddb-tool parse file [-i|-d|-a|-t] [num|-c|-p]
10
11 cddb-tool template disc-id tracks
12
13 cddb-tool send [file] address
14
15 cddb-tool query server user host disc-id tracks
16
17 cddb-tool read server user host disc-id genre
18
19 cddb-tool help
20
21
23 cddb-tool is a backend tool for abcde. It is passed information from
24 cd-discid and uses it look up the CD title, artist, and track informa‐
25 tion on the cddb database (http://freedb.freedb.org) on the internet.
26
28 parse [file] option
29
30 Get data out of a cddb file (use "-" for stdin). Options (use one and
31 only one):
32
33 id prints disc id
34
35 album prints album title
36
37 track num
38 prints title of track num
39
40 artist prints artist
41
42 category
43 prints category
44
45 cddbgenre
46 synonym for category
47
48 all parse file and dumps to stdout in a form sourceable by
49 the shell
50
51 send [file] address
52
53 Mails file file (or stdin of no file specified) to specified address,
54 using correct format. Category should be one of blues, classical,
55 country, data, folk, jazz, newage, reggae, rock, soundtrack, misc.
56
57 template [disc-id] [tracks]
58
59 Generates a template (empty) cddb file to stdout. The command line
60 should be essentially the output of cd-discid.
61
62 query [server] [user] [host] [disc-id] [tracks]
63
64 Looks up disc on server (should be of form "http://host/cddb/cddb.cgi")
65 remainder of command line is in the same form as that returned by the
66 cd-discid program. Uses wget, so if you need to use a proxy then just
67 configure wget to do so. user and host will be used for identifying
68 ourselves to the CDDB server. Outputs response code and entries with
69 matching CDDB entries, if successful, from the CDDB server.
70
71
72 read [server] [user] [host] [disc-id] [genre]
73
74 Dumps CDDB entry to stdout. File will contain an extra #CATEGORY= line,
75 which leaves it a valid CDDB file but which will be recognized by parse
76 and send commands. Uses wget, so if you need to use a proxy then just
77 configure wget to do so. user and host will be used for identifying
78 ourselves to the CDDB server.
79
80 help
81
82 Prints usage information.
83
84
86 Nathaniel Smith <njs@uclink4.berkeley.edu>, maintained as part of abcde
87 by Robert Woodcock <rcw@debian.org>. Manual page compiled from help
88 information by Robert Woodcock.
89
90
91
92 CDDB-TOOL(1)