forked from pzs-ng/pzs-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCOOKIES
162 lines (148 loc) · 3.53 KB
/
COOKIES
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
############# Cookies:
#
#### Race Totals
#
%r = release name
%? = current path
%~ = current path
%^ = base path
%u = # of users in race
%g = # of groups in race
%f = # of files in release
%F = # of uploaded files
%o = # of rejected files
%M = # of missing files
%e = estimated release size in mb
%b = total bytes uploaded
%k = total kilobytes uploaded
%P = total kilobytes in rejected files
%m = total megabytes uploaded
%O = total megabytes in rejected files
%n = name of current file
%p = percent of files uploaded (uploaded files / totalfiles * 100)
%N = total mbits uploaded
%a = average speed per transfer (kb/sec)
%A = average speed (kb/sec)
%d = race length (so far)
%$ = estimated time left of race
%& = epoch (so far)
#
#### Current User
#
%U = Name
%S = Speed (kb/sec)
%# = Speed (MB/s)
%s = Speed (Mbps)
%G = Primary group
#
#### Appended messages
#
%R = Racers message
%B = All Racers
%l = Fastest file message
%L = Slowest file message
%t = Group TopN
%T = User TopN
%Cn = Racestats of n:th racer (n = 0-9, 0 = 1st, 1 = 2nd, 2 = 3rd...)
%cn = Racestats of n:th group
#
#### Static cookies
#
%Z = short_sitename
%% = % char
%K = user's tagline
#
#### Special cookies
#
%v = Error message
%V = Progress bar (14 Chars)
#
#### Audio MP3/FLAC specific cookies
#
%x = Artist
%w = Genre
%W = Album
%y = Title
%Y = Year
%z = Sampling rate
%X = Bitrate
%h = Codec
%q = Layer (MP3 Only)
%Q = Channel mode
%i = VBR version string
%I = VBR preset (MP3 Only)
%j = vbr/cbr info
%@ = vbr-old/vbr-new (MP3 Only)
%_ = vbr quality (1-100, 100 = lowest) (MP3 Only)
%/ = vbr minimum bitrate (on APS this is average bitrate) (MP3 Only)
%\\ = vbr noiseshaping (1-3) (MP3 Only)
%( = vbr stereomode (joint, stereo, mono, forced etc) (MP3 Only)
%) = vbr unwise (1 = yes) (MP3 Only)
%| = vbr source (<32.000Hz, 44.100Hz, 48.000Hz, >48.000Hz) (MP3 Only)
#
#### Movie AVI/MPG/MPEG/M2V cookies
#
%D = Width
%E = Height
%H = Frame rate (fps)
%; = Aspect Ratio
%: = Video Type (long)
%, = Video Type (short)
%` = Audio Hz
%= = Audio Channels
%> = Audio Type (name - AC3 etc)
%< = Audio Type (code - 0x2000 etc)
#
#
%J = RAR Compression method (!! SHOULD NOT BE USED ATM !!)
############# Cookies for user and group messages
#
#### User's
#
%u = Name
%U = Name
%G = Group
%D = DayUp position
%W = WkUp position
%M = MonthUp position
%A = AllUp position
%F = Speed of fastest upload (use in fastestfilemsg)
%S = Speed of slowest upload (use in fastestfilemsg)
#
#### Group's
#
%g = Name
#
#### Both
#
%n = rank
%N = comment winner/loser
%f = # of uploaded files
%b = total bytes uploaded
%k = total kilobytes uploaded
%m = total megabytes uploaded
%p = percent uploaded
%s = speed (kb/sec)
%% = % char
NOTE: With cookies you can (and in some cases you need to) define accuracy (or string length),
reserved bytes for variable by using them as:
%.8u => "username"
%.4u => "user"
%12u => " username"
%-12u => "username "
%.0s => "1234"
%.1s => "1234.5"
%6.1s => "1234.5"
%7.1s => " 1234.5"
%-7.1s => "1234.5 "
############# Cookies for incomplete indicators
#
%0 = "/site/incoming/release/cd1" => release => basename(dirname(path))
%1 = "/site/incoming/release/cd1" => cd1 => basename(path)
%2 = name of current stat_section, or DEFAULT if not found.
%3 = "/site/incoming/release/cd1" => incoming => dir after sitepath_dir
%% = %-sign
###### sitename
#
%Z = name of site, short form.
##