Hi all,
I've just discovered Rockbox (on a Sansa Clip+) and I love it.
Playing around with themes, I've found a few quirks:
1. Tags %bu (detect USB ?) and %tr (FM signal strength) are not documented on the Wiki page (
http://www.rockbox.org/wiki/CustomWPS).
2. The %Rm tag is supposed to return TRUE is rec mode is set to MONO, false if STEREO (as documented on the Wiki page). However in my tests it seems to be the other way around.
3. The %Ti tag (0,1,...,N indicating the FM preset) seems to work in the FMS but not in the SBS.
The numerical value does not get updated in the SBS, while it is updated in the FMS.
To show the two bugs, I add here a theme containing the minimal example of the two bugs.
[Note that I cannot attach a .fms and a .sbs

I quote them below]
Install it, activate it and then:
- (assuming you have some presets) go in FM screen, scan mode, move from one preset to the other (left/right arrow): you'll see the number in the status bar (top) does not change, while the one in the middle of the screen it changes correctly
- go to Recording, in the status bar you have an "MO" for mono, "ST" for stereo, but you'll see they are swapped with respect to the actual setting.
MaX.
bugs.fms:
### Enable status bar.
%we
# Enable viewports.
%Vd(a)
# FMS - Preset.
%Vl(a,0,50,13,8,0)
%ac%?Ti<%Ti|??>
bugs.sbs:
# UI area viewport.
%Vi(-,0,8,-,-,1)
# Enable viewports.
%?cs<%Vd(a)%Vd(b)|%Vd(a)%Vd(b)|%Vd(b)|%Vd(a)|>
# FMS - Preset.
%Vl(a,0,0,13,8,0)
%ac%?Ti<%Ti|??>
# Rec - Channels.
%Vl(b,70,0,-,8,0)
%?Rp<%?Rm<MO|ST>>