Debian Codegraph @

formats

raw
1 # lltag internal format database
2 # each entry is composed of:
3 # [natural format]
4 # format will be shown when matching
5 # type = basename or path
6 # does this format apply to the wall path or only the basename ?
7 # regexp =
8 # internal regexp with %L for a delimiter (empty by default, multiple spaces if --spaces was passed)
9 # %S for a space (or multiple spaces if --spaces was passed)
10 # %N for a numeric string
11 # %A for an alphanumeric string without /
12 # %P for any path (alphanumeric string with /)
13 # %% for %
14 # any other character will remain unchanged
15 # indices = list of comma-separed tag name indicating the corresponding
16 # %N or %A means in the regexp.
17 # the field name may be replaced by the corresponding letter:
18 # a for ARTIST
19 # t for TITLE
20 # A for ALBUM
21 # g for GENRE
22 # n for NUMBER
23 # d for DATE
24 # c for COMMENT
25 # i for IGNORE
26
27 [%n - %a - %t]
28 type = basename
29 regexp = %L%N%S-%S%A%S-%S%A%L
30 indices = NUMBER,ARTIST,TITLE
31
32 [%n) %a - %t]
33 type = basename
34 regexp = %L%N)%S%A%S-%S%A%L
35 indices = NUMBER,ARTIST,TITLE
36
37 [%n - %t]
38 type = basename
39 regexp = %L%N%S-%S%A%L
40 indices = NUMBER,TITLE
41
42 [%n. %t]
43 type = basename
44 regexp = %L%N.%S%A%L
45 indices = NUMBER,TITLE
46
47 [%n) %t]
48 type = basename
49 regexp = %L%N)%S%A%L
50 indices = NUMBER,TITLE
51
52 [%a - %n - %t]
53 type = basename
54 regexp = %L%A%S-%S%N%S-%S%A%L
55 indices = ARTIST,NUMBER,TITLE
56
57 [%a - %t]
58 type = basename
59 regexp = %L%A%S-%S%A%L
60 indices = ARTIST,TITLE
61
62 [%t]
63 type = basename
64 regexp = %L%A%L
65 indices = TITLE
66
67 [%a/%a - %A]
68 type = path
69 regexp = %P%L%A%L/%L%A%S-%S%A%L
70 indices = ARTIST,ARTIST,ALBUM
71
72 [%a/%A (%d)]
73 type = path
74 regexp = %P%L%A%L/%L%A%L%S(%N)%L
75 indices = ARTIST,ALBUM,DATE
76
77 [%a/%A [%d]]
78 type = path
79 regexp = %P%L%A%L/%L%A%L%S[%N]%L
80 indices = ARTIST,ALBUM,DATE
81
82 [%a/%A]
83 type = path
84 regexp = %P%L%A%L/%L%A%L
85 indices = ARTIST,ALBUM
86
87 [%a - %A]
88 type = path
89 regexp = %P%L%A%S-%S%A%L
90 indices = ARTIST,ALBUM
91
92 [%a]
93 type = path
94 regexp = %P%L%A%L
95 indices = ARTIST
96
97 [%A]
98 type = path
99 regexp = %P%L%A%L
100 indices = ALBUM
101