Give the lrcplayer manual entry a good seeing to.
[maemo-rb.git] / manual / plugins / lrcplayer.tex
blob604fe8251c075c58271e9e0ad458c3ebeb6bc020
1 % $Id$ %
2 \subsection{Lrcplayer}
3 % \screenshot{plugins/images/ss-lrcplayer}{Lrcplayer}{}
4 This plugin displays lyrics in \fname{.lrc} files (and some other formats)
5 synchronized with the song being played.
7 \subsubsection{Supported file types}
8 \begin{enumerate}
9 \item \fname{.lrc}
10 \item \fname{.lrc8}
11 \item \fname{.snc}
12 \item \fname{.txt}
13 \item id3v2 SYLT or USLT tags in mp3 files
14 \end{enumerate}
16 \fname{.lrc8} files are the same as \fname{.lrc} files except that they are UTF8
17 encoded. The Lyrics3 tag is not supported.
19 \subsubsection{Supported tags and formats for \fname{.lrc} files}
20 The following tags are supported:
21 \begin{verbatim}
22 [ti:title]
23 [ar:artist]
24 [offset:offset (msec)]
25 \end{verbatim}
27 Each line should resemble one of the following:
28 \begin{verbatim}
29 [time tag]line
30 [time tag]...[time tag]line
31 [time tag]<word time tag>word<word time tag>...<word time tag>
32 \end{verbatim}
34 The time tag must be in the form [mm:ss], [mm:ss.xx], or [mm:ss.xxx] where mm is
35 minutes, ss is seconds, xx is tenth of milliseconds, and xxx is milliseconds.
36 Any other tags and lines without time tags are ignored.
38 \subsubsection{Location of lyrics files}
39 The plugin checks the following directories for lyrics files.
40 \opt{swcodec}{If no lyrics file is found and the audio file is a \fname{.mp3},
41 it also checks for SYLT and USLT tags in the id3v2 tags.}
43 \begin{enumerate}
44 \item The directory containing the audio file and its parent directories.
45 \item For each of the above directories, the plugin searches for a subdirectory
46 named ``Lyrics''.
47 \item Finally, the plugin will search as above, but within a directory called
48 ``/Lyrics''. The name of this directory can be customized, see below.
49 \end{enumerate}
51 If the audio file currently playing is \fname{/Music/Artist/Album/Title.mp3},
52 then the following files will be searched for, in this order. \fname{.ext} is one
53 of the supported extensions from the list above, and will be searched for in the
54 same order as in that list.
56 \begin{verbatim}
57 /Music/Artist/Album/Title.ext
58 /Music/Artist/Title.ext
59 /Music/Title.ext
60 /Title.ext
61 /Music/Artist/Album/Lyrics/Title.ext
62 /Music/Artist/Lyrics/Title.ext
63 /Music/Lyrics/Title.ext
64 /Lyrics/Title.ext
65 /Lyrics/Musics/Artist/Album/Title.ext
66 /Lyrics/Musics/Artist/Title.ext
67 /Lyrics/Musics/Title.ext
68 /Lyrics/Title.ext
69 \end{verbatim}
71 \subsubsection{Controls}
72 \begin{table}
73 \begin{btnmap}{}{}
74 \ActionWpsVolUp{} / \ActionWpsVolDown
75 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsVolUp{} / \ActionRCWpsVolDown}
76 & Volume up/down.\\
78 \ActionWpsSkipPrev
79 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSkipPrev}
80 & Go to beginning of track, or if pressed while in the
81 first seconds of a track, go to the previous track.\\
83 \ActionWpsSeekBack
84 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSeekBack}
85 & Rewind in track.\\
87 \ActionWpsSkipNext
88 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSkipNext}
89 & Go to the next track.\\
91 \ActionWpsSeekFwd
92 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSeekFwd}
93 & Fast forward in track.\\
95 \ActionWpsPlay
96 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsPlay}
97 & Toggle play/pause.\\
99 \ActionWpsStop \nopt{ONDIO_PAD}{or \ActionWpsBrowse}
100 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsStop or \ActionRCWpsBrowse}
101 & Exit the plugin.\\
103 \ActionWpsContext
104 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsContext}
105 & Enter timetag editor.\\
107 \opt{ONDIO_PAD}{\ActionWpsBrowse}%
108 \nopt{ONDIO_PAD}{\ActionWpsMenu}%
109 \opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsMenu}
110 & Enter \setting{Lrcplayer Menu}.\\
112 \end{btnmap}
113 \end{table}
115 \subsubsection{Lrcplayer Menu}
117 \begin{description}
118 \item[Theme settings.] Change theme related settings.
119 \begin{description}
120 \opt{lcd_bitmap}{%
121 \item[Show Statusbar.] Show / hide the statusbar.
122 \item[Display Title.] Show / hide the track title.
124 \item[Display Time.] Show / hide the current time.
125 \opt{lcd_color}{%
126 \item[Inactive Colour.] Set the colour of the inactive part of the lyrics.
128 \item[Backlight Force On.] Do not turn off the backlight while displaying
129 the lyrics.
130 \end{description}
131 \opt{lcd_bitmap}{%
132 \item[Display Settings.] Change how the lyrics are displayed.
133 \begin{description}
134 \item[Wrap.] Breaks lines at white space.
135 \item[Wipe.] Wipes the text.
136 \item[Alignment.] Align text to the left, centre, or right.
137 \item[Activate Only Current Line.]
138 Activate only the current line, or the current and previous lines.
139 \end{description}
141 \item[Lyrics Settings.] Change how the lyrics files are loaded.
142 \begin{description}
143 \item[Encoding.] Sets the codepage used in the plugin.
144 \opt{swcodec}{%
145 \item[Read ID3 tag.] Read lyrics from id3 tags in mp3 files.
147 \item[Lrc Directory.] Set the directory where lyrics files are stored,
148 must be a maximum of 63 bytes.
149 \end{description}
150 \item[Playback Control.] Show the playback control menu.
151 \item[Time Offset.] Set an offset for the time tags for the lyrics currently in use.
152 \item[Timetag Editor.] Enter the timetag editor.
153 \item[Quit.] Exit the plugin.
154 \end{description}
156 \subsubsection{Editing the time tags}
158 The display time for each line can be changed with the timetag editor.
159 Selecting a line changes its time to the current position of the track.
160 To set a specific time or to adjust the time, press \ActionStdContext{} to
161 bring up a screen to adjust the time.
162 Changes will be saved automatically when the song is changed.
163 Edting words in lyrics is not supported.