File: formats

package info (click to toggle)
lltag 0.14.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 464 kB
  • ctags: 253
  • sloc: perl: 2,833; makefile: 120; sh: 17
file content (101 lines) | stat: -rw-r--r-- 2,017 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
# lltag internal format database
# each entry is composed of:
#   [natural format]
#	format will be shown when matching
#   type = basename or path
#	does this format apply to the wall path or only the basename ?
#   regexp =
#	internal regexp with	%L for a delimiter (empty by default, multiple spaces if --spaces was passed)
#				%S for a space (or multiple spaces if --spaces was passed)
#				%N for a numeric string
#				%A for an alphanumeric string without /
#				%P for any path (alphanumeric string with /)
#				%% for %
#				any other character will remain unchanged
#   indices = list of comma-separed tag name indicating the corresponding
#	      %N or %A means in the regexp.
#	      the field name may be replaced by the corresponding letter:
#				a for ARTIST
#				t for TITLE
#				A for ALBUM
#				g for GENRE
#				n for NUMBER
#				d for DATE
#				c for COMMENT
#				i for IGNORE

[%n - %a - %t]
type = basename
regexp = %L%N%S-%S%A%S-%S%A%L
indices = NUMBER,ARTIST,TITLE

[%n) %a - %t]
type = basename
regexp = %L%N)%S%A%S-%S%A%L
indices = NUMBER,ARTIST,TITLE

[%n - %t]
type = basename
regexp = %L%N%S-%S%A%L
indices = NUMBER,TITLE

[%n. %t]
type = basename
regexp = %L%N.%S%A%L
indices = NUMBER,TITLE

[%n) %t]
type = basename
regexp = %L%N)%S%A%L
indices = NUMBER,TITLE

[%a - %n - %t]
type = basename
regexp = %L%A%S-%S%N%S-%S%A%L
indices = ARTIST,NUMBER,TITLE

[%a - %t]
type = basename
regexp = %L%A%S-%S%A%L
indices = ARTIST,TITLE

[%t]
type = basename
regexp = %L%A%L
indices = TITLE

[%a/%a - %A]
type = path
regexp = %P%L%A%L/%L%A%S-%S%A%L
indices = ARTIST,ARTIST,ALBUM

[%a/%A (%d)]
type = path
regexp = %P%L%A%L/%L%A%L%S(%N)%L
indices = ARTIST,ALBUM,DATE

[%a/%A [%d]]
type = path
regexp = %P%L%A%L/%L%A%L%S[%N]%L
indices = ARTIST,ALBUM,DATE

[%a/%A]
type = path
regexp = %P%L%A%L/%L%A%L
indices = ARTIST,ALBUM

[%a - %A]
type = path
regexp = %P%L%A%S-%S%A%L
indices = ARTIST,ALBUM

[%a]
type = path
regexp = %P%L%A%L
indices = ARTIST

[%A]
type = path
regexp = %P%L%A%L
indices = ALBUM