summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2009-02-20 18:37:57 +0000
committerJonas Häggqvist <rasher@rasher.dk>2009-02-20 18:37:57 +0000
commit410cbd1af7103cf9a19ca3f155647da5a34e4d05 (patch)
tree198f516396dd557f56d45c50ed1faeccec9a8c47
parent5c5b06ba39d2f00d70baef66a90c9e3d6c497817 (diff)
downloadrockbox-410cbd1af7103cf9a19ca3f155647da5a34e4d05.tar.gz
rockbox-410cbd1af7103cf9a19ca3f155647da5a34e4d05.zip
Add an album art appendix to the manual. Add album art tags to the WPS tags appendix and remove the image tag section from the Player manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20067 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/appendix/album_art.tex37
-rw-r--r--manual/appendix/appendix.tex4
-rw-r--r--manual/appendix/wps_tags.tex36
-rw-r--r--manual/plugins/pictureflow.tex2
4 files changed, 78 insertions, 1 deletions
diff --git a/manual/appendix/album_art.tex b/manual/appendix/album_art.tex
new file mode 100644
index 0000000000..dc6a778320
--- /dev/null
+++ b/manual/appendix/album_art.tex
@@ -0,0 +1,37 @@
1% $Id: wps_tags.tex 19361 2008-12-07 23:00:15Z bluebrother $ %
2\chapter{\label{ref:album_art}Album Art}
3\section{Introduction}
4
5Rockbox allows you to put the album art, or another image related to the music
6on your \dap to display it in the PictureFlow plugin\opt{albumart}{ or in the
7WPS}. For this feature to work, you must observe a few rules.
8
9\section{Limitations}
10
11Rockbox does not support album art embedded in your files' tags, and will
12instead look for a picture located in the filesystem. In addition to this, the
13pictures must be in the BMP format.
14
15\section{Where to put album art}
16
17The pictures can be named a number of different ways, and placed a number of
18different locations. You can have pictures specific to the file or the album
19or use a generic picture. You can place the picture in the same direcotry
20as the file, in the parent directory or in a fixed directory named
21\fname{/.rockbox/albumart/}. The order Rockbox uses when looking for a picture
22is as follows:
23
24\begin{enumerate}
25\item \fname{./filename.bmp}
26\item \fname{./albumtitle.bmp}
27\item \fname{./cover.bmp}
28\item \fname{/.rockbox/albumart/artist-albumtitle.bmp}
29\item \fname{../albumtitle.bmp}
30\item \fname{../cover.bmp}
31\end{enumerate}
32
33The following characters will be replaced with an underscore (\_) when looking
34for albumtitle.bmp or artist-albumtitle.bmp: \textbackslash{} / : \textless{}
35\textgreater{} ? * \textbar{}. Doublequotes will be replaced by single qutoes.
36See \wikilink{AlbumArt} in the wiki for more details and programs that will
37help you automate the process of putting album art on your \dap{}.
diff --git a/manual/appendix/appendix.tex b/manual/appendix/appendix.tex
index e8a6c839ab..b7ee15a372 100644
--- a/manual/appendix/appendix.tex
+++ b/manual/appendix/appendix.tex
@@ -5,6 +5,10 @@
5 5
6\input{appendix/wps_tags.tex} 6\input{appendix/wps_tags.tex}
7 7
8\opt{swcodec}{\opt{tagcache}{
9\input{appendix/album_art.tex}
10}}
11
8\input{appendix/config_file_options.tex} 12\input{appendix/config_file_options.tex}
9 13
10\input{appendix/menu_structure.tex} 14\input{appendix/menu_structure.tex}
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.
201Example: Can be used as a simple tag \config{\%St{\textbar}skip length{\textbar}} or with conditionals 201Example: 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
275The 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
277configured 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}
diff --git a/manual/plugins/pictureflow.tex b/manual/plugins/pictureflow.tex
index 7d913068d2..056c5e89ad 100644
--- a/manual/plugins/pictureflow.tex
+++ b/manual/plugins/pictureflow.tex
@@ -4,7 +4,7 @@ PictureFlow is a plugin that provides a visualisation of your albums with
4their associated cover art. 4their associated cover art.
5 5
6\subsubsection{Requirements} 6\subsubsection{Requirements}
7PictureFlow uses both the album art (see \wikilink{AlbumArt} in the wiki) and 7PictureFlow uses both the album art (see \reference{ref:album_art}) and
8database (see \reference{ref:database}) features of Rockbox. 8database (see \reference{ref:database}) features of Rockbox.
9It is therefore important that these are working correctly before attempting 9It is therefore important that these are working correctly before attempting
10to use PictureFlow. In addition, there are some other points of which to be 10to use PictureFlow. In addition, there are some other points of which to be