summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2010-07-01 18:55:43 +0000
committerAlexander Levin <al.le@rockbox.org>2010-07-01 18:55:43 +0000
commita43fbbb9a39917f409d7d28b3bba5cfdd8603139 (patch)
tree17b0991d1c705fba86170941400ae522227e08a9 /manual
parent4c07dbed36c0db48fd72200021e4e47f639939fd (diff)
downloadrockbox-a43fbbb9a39917f409d7d28b3bba5cfdd8603139.tar.gz
rockbox-a43fbbb9a39917f409d7d28b3bba5cfdd8603139.tar.bz2
rockbox-a43fbbb9a39917f409d7d28b3bba5cfdd8603139.zip
Generalize the description of the %d(N) WPS tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27221 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/appendix/wps_tags.tex7
1 files changed, 3 insertions, 4 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index cdd5ff322c..5762c3280c 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -110,11 +110,10 @@ show the information for the next song to be played.
\config{\%fp} & File Path\\
\config{\%fs} & File Size (in Kilobytes)\\
\config{\%fv} & ``(avg)'' if variable bit rate or empty string if constant bit rate\\
- \config{\%d(1)} & First directory from the end of the file path\\
- \config{\%d(2)} & Second directory from the end of the file path\\
- \config{\%d(3)} & Third directory from the end of the file path\\
+ \config{\%d(N)} & N-th segment from the end of the file's directory
+ (N can be 1, 2, 3, \dots)\\
\end{tagmap}
-Example for the \config{\%d(N)} commands: If the path is
+Example for the \config{\%d(N)} commands: If the file is
``/Rock/Kent/Isola/11 - 747.mp3'', \config{\%d(1)} is ``Isola'',
\config{\%d(2)} is ``Kent'' and \config{\%d(3)} is ``Rock''.