No need to use textless, textgreater and textbar where <, > and | can be used
[maemo-rb.git] / manual / appendix / wps_tags.tex
blob9fd5e42e204fc4bcff502ae5810875ed0b91ff65
1 % $Id$ %
2 \chapter{\label{ref:wps_tags}Theme Tags}
3 Themeing is discussed in detail in section \reference{ref:ConfiguringtheWPS},
4 what follows is a list of the available tags.
6 \section{Status Bar}
7 \begin{tagmap}
8 \config{\%we} & Display Status Bar\\
9 \config{\%wd} & Hide Status Bar\\
10 \config{\%wi} & Display the inbuilt Status Bar in the current viewport\\
11 \end{tagmap}
12 These tags override the player setting for the display of the status bar.
13 They must be noted on their own line (which will not be shown in the WPS).
15 \section{Information from the track tags}
16 \begin{tagmap}
17 \config{\%ia} & Artist\\
18 \config{\%ic} & Composer\\
19 \config{\%iA} & Album Artist\\
20 \config{\%id} & Album Name\\
21 \config{\%iG} & Grouping\\
22 \config{\%ig} & Genre Name\\
23 \config{\%in} & Track Number\\
24 \config{\%it} & Track Title\\
25 \config{\%iC} & Comment\\
26 \config{\%iv} & ID3 version (1.0, 1.1, 2.2, 2.3, 2.4, or empty if not an ID3 tag)\\
27 \config{\%iy} & Year\\
28 \config{\%ik} & Disc Number\\
29 \end{tagmap}
30 Remember that this information is not always available, so use the
31 conditionals to show alternate information in preference to assuming.
33 These tags, when written with a capital ``I'' (e.g. \config{\%Ia} or \config{\%Ic}),
34 show the information for the next song to be played.
36 \nopt{lcd_charcell}{
37 \section{Viewports}
38 \begin{tagmap}
39 \nopt{lcd_non-mono}{%
40 \config{\%V(x,y,[width],\tabnlindent[height],[font])}
41 & See section \ref{ref:Viewports}\\}
43 \nopt{lcd_color}{\opt{lcd_non-mono}{%
44 \config{\%V(x,y,[width],\tabnlindent[height],[font])}\newline
45 \config{\%Vf([fgshade])}\newline
46 \config{\%Vb([bgshade])}
47 & See section \ref{ref:Viewports}\\}}
49 \opt{lcd_color}{%
50 \config{\%V(x,y,[width],\tabnlindent[height],[font])}\newline
51 \config{\%Vf([fgcolour])}\newline
52 \config{\%Vb([bgcolour])}
53 & See section \ref{ref:Viewports}\\}
55 \config{\%Vd('identifier')} & Display the `identifier' viewport. E.g.
56 \config{\%?C<\%Vd(a)|\%Vd(b)>}
57 will show viewport `a' if album art is found, and `b' if it isn't.\\
59 \config{\%Vi('label',\dots)} &
60 Declare a Custom UI Viewport. The `\dots' parameters use the same logic as
61 the \config{\%V} tag explained above. See section \ref{ref:Viewports}.\\
63 \config{\%VI('label')} & Set the Info Viewport to use the viewport called
64 label, as declared with the previous tag.\\
65 \end{tagmap}
67 \section{Additional Fonts}
68 \begin{tagmap}
69 \config{\%Fl('id',filename)} & See section \ref{ref:multifont}.\\
70 \end{tagmap}
74 \section{Power Related Information}
75 \begin{tagmap}
76 \config{\%bl} & Numeric battery level in percents.
77 Can also be used in a conditional:
78 \config{\%?bl<-1|0|1|2|\ldots|N>},
79 where the value $-1$ is used when the battery level isn't
80 known (it usually is).
81 An image can also be used, the proportion of the image
82 shown correspinds to the battery level:
83 \config{\%bl(x,y,[width],[height],image.bmp)}\\
84 \config{\%bv} & The battery level in volts\\
85 \config{\%bt} & Estimated battery time left\\
86 \config{\%bp} & ``p'' if the charger is connected (only on targets
87 that can charge batteries)\\
88 \config{\%bc} & ``c'' if the unit is currently charging the battery (only on
89 targets that have software charge control or monitoring)\\
90 \config{\%bs} & Remaining time of the sleep timer (if it is set)\\
91 \end{tagmap}
93 \section{Information about the file}
94 \begin{tagmap}
95 \config{\%fb} & File Bitrate (in kbps)\\
96 \config{\%fc} & File Codec (e.g. ``MP3'' or ``FLAC'').
97 This tag can also be used in a conditional tag:
98 \config{\%?fc<mp1|mp2|mp3|aiff|wav|ogg|\newline
99 flac|mpc|a52|wavpack|alac|aac|shn|sid|adx|nsf|\newline
100 speex|spc|ape|wma|mod|sap|unknown>}.
101 The codec order is as follows: MP1, MP2, MP3, AIFF, WAV,
102 Ogg Vorbis (OGG), FLAC, MPC, AC3, WavPack (WV), ALAC, AAC,
103 Shorten (SHN), SID, ADX, NSF, Speex, SPC, APE, WMA, MOD, SAP.\\
104 \config{\%ff} & File Frequency (in Hz)\\
105 \config{\%fk} & File Frequency (in kHz)\\
106 \config{\%fm} & File Name\\
107 \config{\%fn} & File Name (without extension)\\
108 \config{\%fp} & File Path\\
109 \config{\%fs} & File Size (in Kilobytes)\\
110 \config{\%fv} & ``(avg)'' if variable bit rate or empty string if constant bit rate\\
111 \config{\%d(N)} & N-th segment from the end of the file's directory
112 (N can be 1, 2, 3, \dots)\\
113 \end{tagmap}
114 Example for the \config{\%d(N)} commands: If the file is
115 ``/Rock/Kent/Isola/11 - 747.mp3'', \config{\%d(1)} is ``Isola'',
116 \config{\%d(2)} is ``Kent'' and \config{\%d(3)} is ``Rock''.
118 These tags, when written with the first letter capitalized (e.g. \config{\%Fn}
119 or \config{\%D(2)}), produce the information for the next file to be played.
121 \section{Playlist/Song Info}
122 \begin{tagmap}
123 \config{\%pb} & Progress Bar.
124 \opt{player}{
125 This will display a one character ``cup''
126 that empties as the time progresses.}
127 \opt{lcd_bitmap}{
128 This will replace the entire line with a progress bar.
129 You can set the position, width and height of the progressbar
130 (in pixels) and load a custom image for it:
131 \config{\%pb(x,y,[width],[height],image.bmp)}} \\
132 \opt{player}{%
133 \config{\%pf} & Full-line progress bar \& time display\\
135 \config{\%px} & Percentage played in song\\
136 \config{\%pc} & Current time in song\\
137 \config{\%pe} & Total number of playlist entries\\
138 \nopt{player}{%
139 \config{\%pm} & Peak Meter. The entire line is used as %
140 volume peak meter.\\%
142 \config{\%pn} & Playlist name (without path or extension)\\
143 \config{\%pp} & Playlist position\\
144 \config{\%pr} & Remaining time in song\\
145 \config{\%ps} & ``s'' if shuffle mode is enabled\\
146 \config{\%pt} & Total track time\\
147 \config{\%pv} & Current volume (in dB). Can also be used in a conditional:
148 \config{\%?pv<0|1|2|\ldots|N>}\newline
149 0 is used for mute, the last option is used for values greater than zero.
150 \opt{lcd_bitmap}{This can also be used like \%pb to provide a continuous scale:
151 \config{\%pv(x,y,[width],[height],image.bmp)}} \\
152 \config{\%pS} & Track is starting. An optional number gives how many seconds
153 the tag remains true for after the start of the track. The default is
154 10 seconds if no number is specified.
155 \config{\%pS(7)<in the first 7 seconds of track|in
156 the rest of the track>}\\
157 \config{\%pE} & Track is ending. An optional number gives how many seconds
158 before the end of the track the tag becomes true. The default is
159 10 seconds if no number is specified.
160 \config{\%pE(7)<in the last 7 seconds of track|in
161 the rest of the track>}\\
162 \config{\%Sp} & Current playback pitch\\
163 \end{tagmap}
165 \section{Runtime Database}
166 \begin{tagmap}
167 \config{\%rp} & Song playcount\\
168 \config{\%rr} & Song rating (0-10). This tag can also be used in a conditional tag: %
169 \config{\%?rr<0|1|2|3|4|5|6|7|8|9|10>}\\
170 \config{\%ra} & Autoscore for the song\\
171 \end{tagmap}
173 \opt{swcodec}{
174 \section{Sound (DSP) settings}
175 \begin{tagmap}
176 \config{\%Sp} & Current playback pitch \\
177 \opt{swcodec}{
178 \config{\%xf} & Crossfade setting, in the order: Off, Auto Skip, Man Skip,
179 Shuffle, Shuffle and Man Skip, Always\\
180 \config{\%rg} & ReplayGain value in use (x.y~dB). If used as a conditional,
181 Replaygain type in use: \config{\%?rg<Off|Track%
182 |Album|TrackShuffle|AlbumShuffle%
183 |No tag>}\\
185 \end{tagmap}
188 \section{Hold}
189 \begin{tagmap}
190 \config{\%mh} & ``h'' if the main unit keys are locked\\
191 \opt{remote_button_hold}{%
192 \config{\%mr} & ``r'' if the remote keys are locked\\
194 \end{tagmap}
196 \section{Virtual LED}
197 \begin{tagmap}
198 \config{\%lh} & ``h'' if the \disk\ is accessed\\
199 \end{tagmap}
201 \section{Repeat Mode}
202 \begin{tagmap}
203 \config{\%mm} & Repeat mode, 0-4, in the order: Off, All, One, Shuffle, A-B\\
204 \end{tagmap}
205 Example: \config{\%?mm<Off|All|One|Shuffle%
206 |A-B>}
208 \section{Playback Mode}
209 \begin{tagmap}
210 \config{\%mp} & Play status, 0-4, in the order: Stop, Play, Pause,
211 Fast Forward, Rewind, Recording, Recording paused, FM Radio playing,
212 FM Radio muted\\
213 \end{tagmap}
214 Example: \config{\%?mp<Stop|Play|Pause|%
215 Ffwd|Rew|Rec|Rec pause|FM|%
216 FM pause>}
218 \section{Current Screen}
219 \begin{tagmap}
220 \config{\%cs} & The current screen, 1-5, in the order:
221 Menus, WPS, Recording screen, FM Radio screen, Current Playlist screen\\
222 \end{tagmap}
223 The tag can also be used as the switch in a conditional tag. For players without
224 some capabilities (e.g. having no FM radio) some values will be never yielded.
226 Example: \config{You are in the \%?cs<Main menu|WPS|%
227 Recording screen|FM Radio screen>}
229 \section{List Title (\fname{.sbs} only)}
230 \begin{tagmap}
231 \config{\%Lt} & Title text. Should be used in a conditional so that non-list
232 screens don't show a title when they shouldn't\\
233 \config{\%Li} & Title icon. This uses the same order as custom icons (see
234 \wikilink{CustomIcons} in the wiki) except that here \config{0} is ``no
235 icon''\\
236 \end{tagmap}
238 This tag can be used to give custom formatting to list titles.
239 Define a viewport with the font and formatting desired, and then use
240 \config{\%?Lt<\%Lt>} to display the title within the
241 viewport. If \config{\%Lt} is present anywhere in the \fname{.sbs}, then the
242 \config{\%Vi} viewport will not show the title.
244 \section{Changing Volume}
245 \begin{tagmap}
246 \config{\%mv(t)} & ``v'' if the volume is being changed\\
247 \end{tagmap}
249 The tag produces the letter ``v'' while the volume is being changed and some
250 amount of time after that, i.e. after the volume button has been released. The
251 optional parameter \config{t} specifies that amount of time, in seconds. If it
252 is not specified, 1 second is assumed.
254 The tag can be used as the switch in a conditional tag to display different things
255 depending on whether the volume is being changed. It can produce neat effects
256 when used with conditional viewports.
258 Example: \config{\%?mv(2.5)<Volume changing|\%pv>}
260 The example above will display the text ``Volume changing'' if the volume is
261 being changed and 2.5 seconds after the volume button has been released. After
262 that, it will display the volume value.
264 \section{Settings}
265 \begin{tagmap}
266 \config{\%St(<setting\tabnlindent{}name>)} & The value of the Rockbox
267 setting with the specified name. See \reference{ref:config_file_options}
268 for the list of the available settings.\\
269 \end{tagmap}
271 Examples:
272 \begin{enumerate}
273 \item As a simple tag: \config{\%St(skip length)}
274 \item As a conditional: \config{\%?St(eq enabled)<Eq is enabled|Eq is disabled>}
275 \end{enumerate}
278 \opt{lcd_bitmap}{
279 \section{\label{ref:wps_images}Images}
280 \begin{tagmap}
281 \nopt{archos}{%
282 \config{\%X(filename.bmp)}
283 & Load and set a backdrop image for the WPS.
284 This image must be exactly the same size as your LCD.\\
286 \config{\%x(n,filename,x,y)}
287 & Load and display an image\newline
288 \config{n}: image ID (a-z and A-Z) for later referencing in \config{\%xd}\newline
289 \config{filename}: file name relative to \fname{/.rockbox/} and including ``.bmp''\newline
290 \config{x}: x coordinate\newline
291 \config{y}: y coordinate.\\
292 \config{\%xl(n,filename,x,y,\tabnlindent[nimages])}
293 & Preload an image for later display (useful for when your images are displayed conditionally).\newline
294 \config{n}: image ID (a-z and A-Z) for later referencing in \config{\%xd}\newline
295 \config{filename}: file name relative to \fname{/.rockbox/} and including ``.bmp''\newline
296 \config{x}: x coordinate\newline
297 \config{y}: y coordinate\newline
298 \config{nimages}: (optional) number of sub-images (tiled vertically, of the same height)
299 contained in the bitmap. Default is 1.\\
300 \config{\%xd(n[i])} & Display a preloaded image.
301 \config{n}: image ID (a-z and A-Z) as it was specified in \config{\%x} or \config{\%xl}\newline
302 \config{i}: (optional) number of the sub-image to display (a-z for 1-26 and A-Z for 27-52).
303 By default the first (i.e. top most) sub-image will be used.\\
304 \end{tagmap}
306 Examples:
307 \begin{enumerate}
308 \item Load and display the image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109:\\
309 \config{\%x(a,bg.bmp,37,109)}
310 \item Load a bitmap strip containing 5 volume icon images (all the same size)
311 with image ID ``M'', and then reference the individual sub-images in a conditional:\\
312 \config{\%xl(M,volume.bmp,134,153,5)}\\
313 \config{\%?pv<\%xd(Ma)|\%xd(Mb)|\%xd(Mc)|%
314 \%xd(Md)|\%xd(Me)>}
315 \end{enumerate}
318 \note{
319 \begin{itemize}
320 \item The images must be in BMP format
321 \item The image tag must be on its own line
322 \item The ID is case sensitive, giving 52 different ID's
323 \item The size of the LCD screen for each player varies. See table below
324 for appropriate sizes of each device. The x and y coordinates must
325 repect each of the players' limits.
326 \end{itemize}
330 \opt{albumart}{
331 \section{\label{ref:album_art}Album Art}
332 Rockbox allows you to put the album art, or another image related to the music
333 on your \dap{} to display it in the PictureFlow plugin\opt{albumart}{ or in the
334 theme}. For this feature to work, there are a few requirements.
336 \subsection{Limitations}
338 Rockbox does not support album art embedded in your files' tags, and will
339 instead look for a picture located on disk. In addition to this, the
340 pictures must be in either BMP or JPEG format. Rockbox does not support
341 RLE-compressed BMP files, nor does it support progressive and multi-scan
342 JPEG files. JPEG files must consist of a single scan with interleaved components,
343 as progessive and multi-scan images require much more memory to decode.
345 \subsection{Where to put album art}
347 The pictures can be named a number of different ways, and placed to a number of
348 different locations. You can have pictures specific to the file or the album
349 or use a generic picture. You can place the picture in the same directory
350 as the file, in the parent directory or in a fixed directory named
351 \fname{/.rockbox/albumart/}. The order Rockbox uses when looking for a picture
352 is as follows (a list in braces means that those file extensions are tried in
353 that order):
355 \begin{enumerate}
356 \item \fname{./filename.\{jpeg,jpg,bmp\}}
357 \item \fname{./albumtitle.\{jpeg,jpg,bmp\}}
358 \item \fname{./cover.\{jpeg,jpg,bmp\}}
359 \item \fname{./folder.jpg}
360 \item \fname{/.rockbox/albumart/albumartist-albumtitle.\{jpeg,jpg,bmp\}}
361 \item \fname{../albumtitle.\{jpeg,jpg,bmp\}}
362 \item \fname{../cover.\{jpeg,jpg,bmp\}}
363 \end{enumerate}
365 The following characters will be replaced with an underscore (\_) when looking
366 for albumtitle.bmp or albumartist-albumtitle.bmp: \textbackslash{} / : <
367 > ? * |. Doublequotes will be replaced by single quotes.
368 If no album artist is set, artist will be used instead. See \wikilink{AlbumArt}
369 in the wiki for programs that will help you automate the process of putting
370 album art on your \dap{}.
372 \subsection{How to display the album art}
374 Once the album art files are present on your \dap, they can be displayed as
375 follows.
377 \begin{tagmap}
378 \config{\%Cl(x,y,[maxwidth],\tabnlindent[maxheight],\tabnlindent{}hor\_align,\tabnlindent{}vert\_align)}
379 & Define the settings for album art\newline
380 \config{x}: x coordinate\newline
381 \config{y}: y coordinate\newline
382 \config{maxwidth}: Maximum height\newline
383 \config{maxheight}: Maximum width\newline
384 \config{hor\_align}: Horizontal alignment, enter as `l', `c' or `r' for
385 left, centre or right. Centre is default\newline
386 \config{vert\_align}: Vertical alignment, enter as `t', `c' or `b' for
387 top, centre or bottom. Centre is default\\
388 \config{\%Cd} & Display the album art as configured. \\
389 \config{\%C} & Use in a conditional to determine if an image is available. \\
390 \end{tagmap}
392 The picture will be rescaled, preserving aspect ratio to fit the given
393 \config{maxwidth} and \config{maxheight}. If the aspect ratio doesn't match the
394 configured values, the picture will be placed according to the alignment flags.
396 Examples:
397 \begin{enumerate}
398 \item Load albumart at position 20,40 and display it without resizing:\\
399 \config{\%Cl(20,40,,)}
400 \item Load albumart at position 0,20 and resize it to be at most 100$\times$100
401 pixels. If the image isn't square, align it to the bottom-right
402 corner:\\
403 \config{\%Cl(0,20,100,100,r,b)}
404 \end{enumerate}
407 \opt{radio}{
408 \section{FM Radio}
409 \begin{tagmap}
410 \config{\%tp} & Does this target have a radio? If it doesn't, the ``true''
411 branch of this conditional is completly ignored so you don't need to
412 worry about tags which are not recognized on non radio targets.\\
413 \config{\%tt} & Is the tuner tuned?\\
414 \config{\%tm} & Scan or preset mode? Scan is ``true'', preset is ``false''.\\
415 \config{\%ts} & Is the station in stereo?\\
416 \config{\%ta} & Minimum frequency (region specific) in MHz.\\
417 \config{\%tb} & Maximum frequency (region specific) in MHz.\\
418 \config{\%tf} & Current frequency in MHz.\\
419 \config{\%Ti} & Current preset id, i.e. 1-based number of the preset
420 within the presets list (usable in playlist viewer).\\
421 \config{\%Tn} & Current preset name (usable in playlist viewer).\\
422 \config{\%Tf} & Current preset frequency (usable in playlist viewer).\\
423 \config{\%Tc} & Preset count, i.e. the number of stations in the current
424 preset list.\\
425 \config{\%tx} & Is RDS available?\\
426 \config{\%ty} & RDS name.\\
427 \config{\%tz} & RDS text.\\
428 \end{tagmap}
430 It is also possible to show ``Radio Art'' which can be used to display images
431 associated with presets. The tags are exactly the same as for album art,
432 described above. Images need to be placed in \fname{/.rockbox/fmpresets/},
433 and must have the same name as the preset. They need to be in either
434 \fname{.bmp} or \fname{.jpg} format, and the radio must be in preset mode
435 and tuned to a preset (and not recording) in order for them to be shown.
438 \section{Alignment}
439 \begin{tagmap}
440 \config{\%al} & Align the text left\\
441 \config{\%aL} & Align the text left, or to the right if RTL language is in use\\
442 \config{\%ac} & Centre the text\\
443 \config{\%ar} & Align the text right\\
444 \config{\%aR} & Align the text right, or to the left if RTL language is in use\\
445 \end{tagmap}
446 All alignment tags may be present in one line, but they need to be in the
447 order left -- centre -- right. If the aligned texts overlap, they are merged.
449 \section{Conditional Tags}
451 \begin{tagmap}
452 \config{\%?xx<true|false>}
453 & If / Else: Evaluate for true or false case \\
454 \config{\%?xx<alt1|alt2|\tabnlindent{}alt3|\dots|else>}
455 & Enumerations: Evaluate for first / second / third / \dots / last condition \\
456 \end{tagmap}
458 \section{Subline Tags}
460 \begin{tagmap}
461 \config{\%t(time)}
462 & Set the subline display cycle time (\%t(5) or \%t(3.4) formats) \\
463 \config{;}
464 & Split items on a line into separate sublines \\
465 \end{tagmap}
467 Allows grouping of several items (sublines) onto one line, with the
468 display cycling round the defined sublines. See
469 \reference{ref:AlternatingSublines} for details.
472 \section{Time and Date}
473 \begin{tagmap}
474 \opt{rtc}{
475 \config{\%cd} & Day of month from 01 to 31\\
476 \config{\%ce} & Zero padded day of month from 1 to 31\\
477 \config{\%cf} & A conditional for 12/24 hour format.\newline
478 \config{\%?cf<24 hour stuff|12 hour stuff>}\\
479 \config{\%cH} & Zero padded hour from 00 to 23 (24 hour format)\\
480 \config{\%ck} & Hour from 0 to 23 (24 hour format)\\
481 \config{\%cI} & Zero padded hour from 01 to 12 (am/pm format)\\
482 \config{\%cl} & Hour from 1 to 12 (am/pm format)\\
483 \config{\%cm} & Month from 01 to 12\\
484 \config{\%cM} & Minutes\\
485 \config{\%cS} & Seconds\\
486 \config{\%cy} & 2-digit year\\
487 \config{\%cY} & 4-digit year\\
488 \config{\%cP} & Capital AM/PM\\
489 \config{\%cp} & Lowercase am/pm\\
490 \config{\%ca} & Weekday name\\
491 \config{\%cb} & Month name\\
492 \config{\%cu} & Day of week from 1 to 7, 1 is Monday\\
493 \config{\%cw} & Day of week from 0 to 6, 0 is Sunday\\
495 \config{\%cc} & Check for presence of the clock hardware\\
496 \end{tagmap}
497 The \%cc tag returns ``c'' if the necessary hardware is present and can also be
498 used as a conditional. This can be very useful for designing a WPS that works on
499 multiple targets, some with and some without a clock. By using this tag as a
500 conditional it is possible to display current date and time on those targets that
501 support this
502 \opt{rtc}{ (like the \playertype)},
503 or alternate information on those that do not
504 \nopt{rtc}{ (like the \playertype)}%
507 Example:
508 \config{\%?cc<\%cH:\%cM|No clock detected>}
510 \section{Text Translation}
511 \begin{tagmap}
512 \config{\%Sx(English)}
513 & Display the translation of ``English'' in the current language\\
514 \end{tagmap}
516 \begin{itemize}
517 \item ``English'' must be a phrase used in the language file.
518 \item It should match the \config{Source:} line in the language file.
519 \end{itemize}
521 \note{checkwps cannot verify that the string is correct, so please check on
522 either the simulator or on target.}
525 \opt{touchscreen}{
526 \section{Touchscreen Areas (WPS only)}
527 \begin{tagmap}
528 \config{\%T(x,y,[width],\tabnlindent[height],action)}
529 & Invoke the action specified when the user presses in the defined
530 touchscreen area.\\
531 \end{tagmap}
532 If the action starts with \& then the area must be held. Possible actions are:
534 \begin{description}
535 \item[play] -- Play/pause playback.
536 \item[stop] -- Stop playback and exit the WPS.
537 \item[prev] -- Previous track.
538 \item[next] -- Next track.
539 \item[ffwd] -- Seek forwards in the track.
540 \item[rwd] -- Seek backwards in the track.
541 \item[menu] -- Go to the main menu.
542 \item[browse] -- Go back to the file browser or database.
543 \item[shuffle] -- Toggle shuffle mode.
544 \item[repmode] -- Cycle through the repeat modes.
545 \item[quickscreen] -- Go to the quickscreen.
546 \item[contextmenu] -- Open the context menu.
547 \item[playlist] -- Go to the playlist viewer.
548 \item[progressbar] -- Seek to the appropriate position in the track based on the touch.
549 \item[volume] -- Set the volume to the appropriate level based on the touch.
550 \item[pitch] -- Open the pitchscreen.
551 \item[voldown] -- Decrease the volume by one step.
552 \item[volup] -- Increase the volume by one step.
553 \end{description}
555 \section{Last Touchscreen Press (WPS only)}
556 \begin{tagmap}
557 \config{\%Tl} & Indicates that the touchscreen is pressed.\\
558 \end{tagmap}
559 This tag can be used to display text or images or a viewport when the
560 touchscreen is pressed (like an On Screen Display). If you put a number
561 straight after \%Tl it will be used as a timeout in seconds
562 (e.g \%Tl(2.5) will give a 2.5 second timeout) between the touchscreen press
563 being released and the tag going false. If no number is specified it will
564 use a 1 second timeout. It can also be used as a conditional, and can be
565 used with conditional viewports.
568 \section{Other Tags}
569 \begin{tagmap}
570 \config{\%(} & The character `('\\
571 \config{\%)} & The character `)'\\
572 \config{\%,} & The character `,'\\
573 \config{\%\%} & The character `\%'\\
574 \config{\%<} & The character `<'\\
575 \config{\%|} & The character `|'\\
576 \config{\%>} & The character `>'\\
577 \config{\%;} & The character `;'\\
578 \config{\#} & The character `\#'\\
579 \config{\%s} & Indicate that the line should scroll. Can occur
580 anywhere in a line (given that the text is
581 displayed; see conditionals above). You can specify
582 up to ten scrolling lines. Scrolling lines can not
583 contain dynamic content such as timers, peak meters
584 or progress bars.\\
585 \end{tagmap}