Toshiba F Series manual repeat, Example ?it%t8%s%itj%s%fn%?ia%t3%s%iaj%t0

Models: F Series

1 177
Download 177 pages 60.6 Kb
Page 136
Image 136
Example

Chapter 11. Advanced Topics

136

Items on a line are broken into sublines with the semicolon ’;’ character. The display time for each subline defaults to 2 seconds unless modi ed by using the ’%t’ tag to specify an alternate time (in seconds and optional tenths of a second) for the subline to be displayed.

Subline related special characters and tags:

;Split items on a line into separate sublines

%t Set the subline display time. The ’%t’ is followed by either integer seconds (%t5), or seconds and tenths of a second (%t3.5).

Each alternating subline can still be optionally scrolled while it is being displayed, and scrollable formats can be displayed on the same line with non-scrollable formats (such as track elapsed time) as long as they are separated into di erent sublines. Example subline de nition:

Example

%s%t4%ia;%s%it;%t3%pc %pr : Display id3 artist for 4 seconds, Display id3 title for 2 seconds, Display current and remaining track time for 3 seconds,

repeat...

Conditionals can be used with sublines to display a di erent set and/or number of sublines on the line depending on the evaluation of the conditional. Example subline with conditionals:

Example

%?it<%t8%s%itj%s%fn>;%?ia<%t3%s%iaj%t0>

The format above will do two di erent 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 lename 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.

The Rockbox manual

Toshiba Gigabeat F Series

Page 136
Image 136
Toshiba F Series manual repeat, Example ?it%t8%s%itj%s%fn%?ia%t3%s%iaj%t0