![Rockbox Archos Ondio 128 FM Manual Download Page 106](http://html1.mh-extra.com/html/rockbox/archos-ondio-128-fm/archos-ondio-128-fm_manual_1472527106.webp)
C
HAPTER
11. A
DVANCED
T
OPICS
106
E
XAMPLE
%?it
<
%t8%s%it
|
%s%fn
>
;%?ia
<
%t3%s%ia
|
%t0
>
The format above will do two different things depending if ID3 tags are present. If
the ID3 artist and title are present:
•
Display id3 title for 8 seconds,
•
Display id3 artist for 3 seconds,
•
repeat. . .
If the ID3 artist and title are not present:
•
Display the filename continuously.
Note that by using a subline display time of 0 in one branch of a conditional, a subline
can be skipped (not displayed) when that condition is met.
Using Images
You can have as many as 52 images in your WPS. There are various ways of displaying
images:
1. Load and always show the image, using the
%x
tag
2. Preload the image with
%xl
and show it with
%xd
. This way you can have your
images displayed conditionally.
Example on bitmap preloading and use:
E
XAMPLE
%x|a|static_icon.bmp|50|50|
%xl|b|rep off.bmp|16|64|
%xl|c|rep all.bmp|16|64|
%xl|d|rep one.bmp|16|64|
%xl|e|rep shuffle.bmp|16|64|
%?mm<%xdb|%xdc|%xdd|%xde>
Four images at the same x and y position are preloaded in the example. Which image
to display is determined by the
%mm
tag (the repeat mode).
Example File
E
XAMPLE
%s%?in<%in - >%?it<%it|%fn> %?ia<[%ia%?id<, %id>]>
%pb%pc/%pt
That is, “tracknum – title [artist, album]”, where most fields are only displayed if avail-
able. Could also be rendered as “filename” or “tracknum – title [artist]”.
T
HE
R
OCKBOX MANUAL
A
RCHOS
O
NDIO