Appendix D. Theme Tags
187
1. Load and display the image
/.rockbox/bg.bmp
with ID “a” at 37, 109:
%x(a,bg.bmp,37,109)
2. Load a bitmap strip containing 5 volume icon images (all the same size) with image
ID “M”, and then reference the individual sub-images in a conditional:
%xl(M,volume.bmp,134,153,5)
%?pv<%xd(Ma)|%xd(Mb)|%xd(Mc)|%xd(Md)|%xd(Me)>
Note:
b
•
The images must be in BMP format
•
The image tag must be on its own line
•
The ID is case sensitive
•
The size of the LCD screen for each player varies. See table below for appropriate
sizes of each device. The x and y coordinates must respect each of the player’s
limits.
D.22. FM Radio
Tag
Description
%tt
Is the tuner tuned?
%tm
Scan or preset mode? Scan is “true”, preset is “false”.
%ts
Is the station in stereo?
%ta
Minimum frequency (region specific) in MHz.
%tb
Maximum frequency (region specific) in MHz.
%tf
Current frequency in MHz.
%Ti
Current preset id, i.e. 1-based number of the preset within
the presets list (usable in playlist viewer).
%Tn
Current preset name (usable in playlist viewer).
%Tf
Current preset frequency (usable in playlist viewer).
%Tc
Preset count, i.e. the number of stations in the current preset
list.
%tx
Is RDS available?
%ty
RDS name.
%tz
RDS text.
%tr
Signal strength (RSSI). Can be used in a conditional or as a
bar.
It is also possible to show “Radio Art” which can be used to display images associated
with presets. The tags are exactly the same as for album art, described above. Images
need to be placed in
/.rockbox/fmpresets/
, and must have the same name as the
preset. They need to be in either
.bmp
or
.jpg
format, and the radio must be in preset
mode and tuned to a preset (and not recording) in order for them to be shown.
The Rockbox manual
(version 3.14)
Sansa Clip v2