Appendix D. Theme Tags
191
•
‘start’ is the offset relative to the currently playing track for the playlist to display
from (0 the current track, 1 is the next track, etc.).
•
‘code to render’ is a line of skin code which will be displayed for each line in the
viewer. All text tags are supported (including conditionals and sublines)
The entire viewport will be used, so don’t expect other tags in the same viewport to
work well. Supported tags are %pp, all tags starting with %i, most tags starting with
%f, %pt and %s.
Example:
%Vp(1,%pp - %it,%pp - %fn)
– Display the playlist position, then either
the track title (from the tags) or the filename. The viewer will display as many tracks
as will fit in the viewport.
D.11. Runtime Database
Tag
Description
%rp
Song playcount
%rr
Song rating (0-10). This tag can also be used in a conditional
tag:
%?rr<0|1|2|3|4|5|6|7|8|9|10>
%ra
Autoscore for the song
D.12. Sound (DSP) settings
Tag
Description
%Sp
Current playback pitch
%xf
Crossfade setting, in the order: Off, Auto Skip, Man Skip,
Shuffle, Shuffle and Man Skip, Always
%rg
ReplayGain
value
in
use
(x.y
dB).
If
used
as
a
conditional,
Replaygain
type
in
use:
%?rg<Off|Track|Album|TrackShuffle|AlbumShuffle|No
tag>
D.13. Hold
Tag
Description
%mh
“h” if the main unit keys are locked
%mr
“r” if the remote keys are locked
The Rockbox manual
(version 3.14)
Iaudio M5