path: root/manual
diff options
authorMarianne Arnold <>2010-10-29 17:52:20 +0000
committerMarianne Arnold <>2010-10-29 17:52:20 +0000
commitfa6321114958d3114cb74cc835c92cfe8a9b0239 (patch)
treef5c553566056591c376264b7161f803351a4940c /manual
parent5e28b18df9f29c877c79217ad8ed45f4b084a3dd (diff)
Manual, theme tag chapter: add a 'Hardware Capabilities' section for tags that test hardware capabilities of a target and move the 'radio/clock/touchscreen detected' tags there. Fixes inconsistencies in handling these.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
1 files changed, 19 insertions, 23 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 4ee7d4e820..c990f24cc8 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -15,6 +15,23 @@ what follows is a list of the available tags.
These tags override the player setting for the display of the status bar.
They must be noted on their own line (which will not be shown in the WPS).
+\section{Hardware Capabilities}
+ \config{\%cc} & Check for presence of a real time clock, returns ``c''
+ when used unconditionally\\
+ \config{\%tp} & Does this target have a radio?\\
+ \config{\%Tp} & Indicates that the target has a touchscreen\\
+With the above tags it is possible to find out about the presence of certain
+hardware and make the theme adapt to it. This can be very useful for designing
+a theme that works on multiple targets with differing hardware capabilities, e.g.
+targets that do and do not have a clock. When used conditionally, the ``true''
+branch is completely ignored if it does not apply.
+\config{\%?cc<\%cH:\%cM|No clock detected>}
\section{Information from the track tags}
\config{\%ia} & Artist\\
@@ -440,9 +457,6 @@ Examples:
\section{FM Radio}
- \config{\%tp} & Does this target have a radio? If it doesn't, the ``true''
- branch of this conditional is completly ignored so you don't need to
- worry about tags which are not recognized on non radio targets.\\
\config{\%tt} & Is the tuner tuned?\\
\config{\%tm} & Scan or preset mode? Scan is ``true'', preset is ``false''.\\
\config{\%ts} & Is the station in stereo?\\
@@ -531,10 +545,9 @@ Allows grouping of several items (sublines) onto one line, with the
display cycling round the defined sublines. See
\reference{ref:AlternatingSublines} for details.
\section{Time and Date}
- \opt{rtc}{
\config{\%cd} & Day of month from 01 to 31\\
\config{\%ce} & Zero padded day of month from 1 to 31\\
\config{\%cf} & A conditional for 12/24 hour format.\newline
@@ -554,21 +567,8 @@ display cycling round the defined sublines. See
\config{\%cb} & Month name\\
\config{\%cu} & Day of week from 1 to 7, 1 is Monday\\
\config{\%cw} & Day of week from 0 to 6, 0 is Sunday\\
- }
- \config{\%cc} & Check for presence of the clock hardware\\
-The \%cc tag returns ``c'' if the necessary hardware is present and can also be
-used as a conditional. This can be very useful for designing a WPS that works on
-multiple targets, some with and some without a clock. By using this tag as a
-conditional it is possible to display current date and time on those targets that
-support this
-\opt{rtc}{ (like the \playertype)},
-or alternate information on those that do not
-\nopt{rtc}{ (like the \playertype)}%
-\config{\%?cc<\%cH:\%cM|No clock detected>}
\section{Text Translation}
@@ -586,10 +586,6 @@ Example:
- \section{Target Has A Touchscreen?}
- \begin{tagmap}
- \config{\%Tp} & Indicates that the target has a touchscreen.\\
- \end{tagmap}
\section{Touchscreen Areas}