Appendix B. WPS Tags
133
B.3 Power Related Information
Tag
Description
%bl
Numeric battery level in percents
Can also be used in a conditional:
%?bl
<
-1
|
0
|
1
|
2
|
...
|
N
>
, where the value
−
1
is used when the battery level isn’t known (it usually is)
%bv
The battery level in volts
%bt
Estimated battery time left
%bp
“p” if the charger is connected (only on targets that can charge batteries)
%bc
“c” if the unit is currently charging the battery (only on targets that have
software charge control or monitoring)
%bs
Remaining time of the sleep timer (if it is set)
B.4 Information about the file
Tag
Description
%fb
File Bitrate (in kbps)
%fc
File Codec (e.g. “MP3” or “FLAC”). This tag can also be used in a condi-
tional tag,
%?fc
<
mp1
|
mp2
|
mp3
|
aiff
|
wav
|
ogg
|
flac
|
mpc
|
a52
|
wavpack
|
alac
|
aac-
|
shn
|
sid
|
adx
|
nsf
|
speex
|
spc
|
ape
|
wma
|
mod
|
sap
|
unknown
>
.
The codec order is as follows: MP1, MP2, MP3, AIFF, WAV, Ogg Vorbis
(OGG), FLAC, MPC, AC3, WavPack (WV), ALAC, AAC, Shorten (SHN),
SID, ADX, NSF, Speex, SPC, APE, WMA, MOD, SAP.
%ff
File Frequency (in Hz)
%fm
File Name
%fn
File Name (without extension)
%fp
File Path
%fs
File Size (in Kilobytes)
%fv
“(avg)” if variable bit rate or empty string if constant bit rate
%d1
First directory from the end of the file path
%d2
Second directory from the end of the file path
%d3
Third directory from the end of the file path
Example for the
%dN
commands: If the path is “/Rock/Kent/Isola/11 - 747.mp3”,
%d1
is “Isola”,
%d2
is “Kent” and
%d3
is “Rock”.
These tags, when written with the first letter capitalized (e.g.
%Fn
or
%D2
), produce
the information for the next file to be played.
The Rockbox manual
Archos Recorder