File: lltag_config.5

package info (click to toggle)
lltag 0.14.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 476 kB
  • ctags: 253
  • sloc: perl: 2,833; makefile: 120; sh: 17
file content (256 lines) | stat: -rw-r--r-- 4,595 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
.\" Process this file with
.\" groff -man -Tascii foo.1
.\"
.TH lltag_config 5 "NOVEMBER 2006"



.SH NAME
config \- Configuration file for lltag



.SH DESCRIPTION
The following options may be stored in
.I /etc/lltag/config
or the user's
.IR $HOME/.lltag/config ,
or in any file passed with
.IR --config .

Such a configuration file may also be generated with
.IR --gencfg .



.SH Obtaining tags

.I format = \fI"string"
.RS
Add a user-defined format
.RB [ -R ].
Might be used multiple times.
Default is to guess if no user-defined formats and no default field values are given.
.RE
.I guess = <0/1>
.RS
Try to guess if user-defined formats do not match
.RB [ -G ].
Default is
.BR 0 " (" disabled ") when no user-defined formats and no explicit values are given."
.RE
.I tag = <TAG=value>
.RS
Add an explicit tag
.RB [ --tag ].
Might be used multiple times.
.RE


.SH Tweaking filename parsing

.I no_path = <0/1>
.RS
Do not use file path when matching filename
.RB [ -p ].
Default is
.BR 0 " (" disabled ")."
.RE
.I spaces = <0/1>
.RS
Allow no or multiple spaces
.RB [ --spaces ].
Default is
.BR 0 " (" disabled ")."
.RE


.SH Cleaning obtained tags

.I edit = <0/1>
.RS
Edit tags immediately
.RB [ --edit ].
Default is
.BR 0 " (" disabled ")."
.RE
.I maj = <0/1>
.RS
Upcase first letters of words in tags
.RB [ --maj ].
Default is
.BR 0 " (" disabled ")."
.RE
.I regexp = \fI"s/from/to/"
.RS
Replace \fIfrom\fR with \fIto\fR in all tags.
.I title,number:s/from/to/
replaces in title and number tags only.
Might be used multiple times
.RB [ --regexp ].
Default is to not apply any regexp.
.RE
.I sep = \fI"string"
.RS
Replace |-separated strings with space in tags.
Default is to not replace any separator.
.RE


.SH Configuration of tag application

.I type = <mp3|ogg|flac|none>
.RS
Force mp3, ogg of flac instead of by-extension detection
.RB [ --mp3 ", " --ogg " and " --flac ].
Default is
.BR none .
.RE
.I clear_tags = <0/1>
.RS
Clear all tags of audio files.
.BR [ --clear ].
Default is
.BR 0 " (" disabled ")."
.RE
.I append_tags = <0/1>
.RS
Append tags only instead of replacing old ones.
.RB [ --append ].
Default is
.BR 0 " (" disabled ")."
.RE
.I no_tagging = <0/1>
.RS
Do not actually tag files
.RB [ --no-tagging ].
Default is
.BR 0 " (" disabled ")."
.RE
.I preserve_time = <0/1>
.RS
Preserve file modification time during tagging
.RB [ --preserve-time ].
Default is
.BR 0 " (" disabled ")."
.RE


.SH Renaming

.I rename_format = \fI"string"
.RS
Rename file according to format
.RB [ --rename ].
Default is to not rename.
.RE
.I rename_min = <0/1>
.RS
Lowcase tags before renaming
.RB [ --rename-min ].
Default is
.BR 0 " (" disabled ")."
.RE
.I rename_regexp = \fI"s/from/to/"
.RS
Replace \fIfrom\fR with \fIto\fR in all tags before renaming.
.I title,number:s/from/to/
replaces in title and number tags only.
Might be used multiple times
.RB [ --rename-regexp ].
Default is to not apply any regexp.
.RE
.I rename_sep = \fI"string"
.RS
Replace spaces with a string in tags before renaming
.RB [ --rename-sep ].
Default is to not replace any separator.
.RE
.I rename_slash = \fI"string"
.RS
Replace slashes with a string in tags before renaming
.RB [ --rename-slash ].
Default is to replace with a dash.
.RE
.I rename_ext = <0/1>
.RS
Assume the rename format provides an extension
.RB [ --rename-ext ].
Default is
.BR 0 " (" disabled ")."
.RE


.SH Miscellaneous

.I dry_run = <0/1>
.RS
Do nothing but show what would have been done
.RB [ --dry-run ].
Default is
.BR 0 " (" disabled ")."
.RE
.I yes = <0/1>
.RS
Tag without asking for confirmation when guessing
and rename without asking for confirmation
.RB [ --yes ].
Default is
.BR 0 " (" disabled ")."
.RE
.I ask = <0/1>
.RS
Always ask for confirmation before tagging
.RB [ --ask ].
Default is
.BR 0 " (" disabled ")."
.RE
.I recursive = <0/1>
.RS
Recursively traverse all given subdirectories
.RB [ -R ].
Default is
.BR 0 " (" disabled ")."
.RE
.I verbose = <integer>
.RS
Message verbosity level
.RB [ -v " and " -q ].
Default is
.BR 0 " (" "only important messages" ")."
Other possible values are
.BR 1 " (" "show usage information when a menu is displayed for the first time" ")"
and
.BR 2 " (" "always show usage information before a menu appears" ")."
.RE


.SH CDDB configuration

.I cddb_server_name = "hostname"
.RS
Change the CDDB server name.
Default is
.BR www.freedb.org .
.RE
.I cddb_server_port = <port>
.RS
Change the CDDB server port.
Default is
.BR 80 " (" HTTP ")."
.RE



.SH SEE ALSO
.PP
.BR lltag (1)

The
.I config
template file provided within the documentation directory.



.SH AUTHOR
Brice Goglin