diff options
Diffstat (limited to 'manual/appendix/wps_tags.tex')
-rw-r--r-- | manual/appendix/wps_tags.tex | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 2c505f90dc..487090c266 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex | |||
@@ -201,6 +201,7 @@ that, it will display the volume value. | |||
201 | Example: Can be used as a simple tag \config{\%St{\textbar}skip length{\textbar}} or with conditionals | 201 | Example: Can be used as a simple tag \config{\%St{\textbar}skip length{\textbar}} or with conditionals |
202 | \config{\%?St{\textbar}eq enabled{\textbar}{\textless}Equalizer is enabled{\textbar}Equalizer is disabled{\textgreater}}. | 202 | \config{\%?St{\textbar}eq enabled{\textbar}{\textless}Equalizer is enabled{\textbar}Equalizer is disabled{\textgreater}}. |
203 | 203 | ||
204 | \opt{lcd_bitmap}{ | ||
204 | \section{Images} | 205 | \section{Images} |
205 | \begin{table} | 206 | \begin{table} |
206 | \begin{tagmap}{}{} | 207 | \begin{tagmap}{}{} |
@@ -255,6 +256,41 @@ with image ID ``M'', and then reference the individual sub-images in a condition | |||
255 | repect each of the players' limits. | 256 | repect each of the players' limits. |
256 | \end{itemize} | 257 | \end{itemize} |
257 | } | 258 | } |
259 | } | ||
260 | |||
261 | \opt{albumart}{ | ||
262 | \section{Album art} | ||
263 | \begin{table} | ||
264 | \begin{tagmap}{}{} | ||
265 | \config{\%Cl{\textbar}x{\textbar}y{\textbar}[l{\textbar}c{\textbar}r]maxwidth{\textbar}[t{\textbar}c{\textbar}b]maxheight{\textbar}} | ||
266 | & Define the settings for albumart\\ | ||
267 | & \config{x}: x coordinate\\ | ||
268 | & \config{y}: y coordinate\\ | ||
269 | & \config{maxwidth}: Maximum height.\\ | ||
270 | & \config{maxheight}: Maximum width.\\ | ||
271 | \config{\%C} & Display the album art as configured\\ | ||
272 | \end{tagmap} | ||
273 | \end{table} | ||
274 | |||
275 | The picture will be rescaled, preserving aspect ratio to fit the given | ||
276 | \config{maxwidth} and \config{maxheight}. If the aspect ratio doesn't match the | ||
277 | configured values, the picture will be placed according to the flags to the | ||
278 | \config{maxwidth} and \config{maxheight} parameters: | ||
279 | \begin{itemize} | ||
280 | \item \config{maxwidth}: | ||
281 | \begin{description} | ||
282 | \item[\config{l}.] Align left | ||
283 | \item[\config{c}.] Align center (default) | ||
284 | \item[\config{r}.] Align right | ||
285 | \end{description} | ||
286 | \item \config{maxheight}: | ||
287 | \begin{description} | ||
288 | \item[\config{t}.] Align left | ||
289 | \item[\config{c}.] Align center (default) | ||
290 | \item[\config{b}.] Align right | ||
291 | \end{description} | ||
292 | \end{itemize} | ||
293 | } | ||
258 | 294 | ||
259 | \section{Alignment} | 295 | \section{Alignment} |
260 | \begin{table} | 296 | \begin{table} |