2010-06-05 11:54:40 +00:00
|
|
|
% $Id$ %
|
|
|
|
\subsection{Lrcplayer}
|
|
|
|
% \screenshot{plugins/images/ss-lrcplayer}{Lrcplayer}{}
|
2010-06-26 15:26:38 +00:00
|
|
|
This plugin displays lyrics in \fname{.lrc} files (and some other formats)
|
|
|
|
synchronized with the song being played.
|
2010-06-05 11:54:40 +00:00
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
\subsubsection{Supported file types}
|
2010-06-05 11:54:40 +00:00
|
|
|
\begin{enumerate}
|
2010-06-26 15:26:38 +00:00
|
|
|
\item \fname{.lrc}
|
|
|
|
\item \fname{.lrc8}
|
|
|
|
\item \fname{.snc}
|
|
|
|
\item \fname{.txt}
|
|
|
|
\item id3v2 SYLT or USLT tags in mp3 files
|
2010-06-05 11:54:40 +00:00
|
|
|
\end{enumerate}
|
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
\fname{.lrc8} files are the same as \fname{.lrc} files except that they are UTF8
|
|
|
|
encoded. The Lyrics3 tag is not supported.
|
2010-06-05 11:54:40 +00:00
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
\subsubsection{Supported tags and formats for \fname{.lrc} files}
|
|
|
|
The following tags are supported:
|
2010-06-05 11:54:40 +00:00
|
|
|
\begin{verbatim}
|
|
|
|
[ti:title]
|
|
|
|
[ar:artist]
|
|
|
|
[offset:offset (msec)]
|
|
|
|
\end{verbatim}
|
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
Each line should resemble one of the following:
|
2010-06-05 11:54:40 +00:00
|
|
|
\begin{verbatim}
|
|
|
|
[time tag]line
|
|
|
|
[time tag]...[time tag]line
|
|
|
|
[time tag]<word time tag>word<word time tag>...<word time tag>
|
|
|
|
\end{verbatim}
|
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
The time tag must be in the form [mm:ss], [mm:ss.xx], or [mm:ss.xxx] where mm is
|
|
|
|
minutes, ss is seconds, xx is tenth of milliseconds, and xxx is milliseconds.
|
|
|
|
Any other tags and lines without time tags are ignored.
|
2010-06-05 11:54:40 +00:00
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
\subsubsection{Location of lyrics files}
|
|
|
|
The plugin checks the following directories for lyrics files.
|
|
|
|
\opt{swcodec}{If no lyrics file is found and the audio file is a \fname{.mp3},
|
|
|
|
it also checks for SYLT and USLT tags in the id3v2 tags.}
|
2010-06-05 11:54:40 +00:00
|
|
|
|
|
|
|
\begin{enumerate}
|
2010-06-26 15:26:38 +00:00
|
|
|
\item The directory containing the audio file and its parent directories.
|
|
|
|
\item For each of the above directories, the plugin searches for a subdirectory
|
|
|
|
named ``Lyrics''.
|
|
|
|
\item Finally, the plugin will search as above, but within a directory called
|
|
|
|
``/Lyrics''. The name of this directory can be customized, see below.
|
2010-06-05 11:54:40 +00:00
|
|
|
\end{enumerate}
|
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
If the audio file currently playing is \fname{/Music/Artist/Album/Title.mp3},
|
|
|
|
then the following files will be searched for, in this order. \fname{.ext} is one
|
|
|
|
of the supported extensions from the list above, and will be searched for in the
|
|
|
|
same order as in that list.
|
2010-06-05 11:54:40 +00:00
|
|
|
|
|
|
|
\begin{verbatim}
|
2010-06-26 15:26:38 +00:00
|
|
|
/Music/Artist/Album/Title.ext
|
|
|
|
/Music/Artist/Title.ext
|
|
|
|
/Music/Title.ext
|
2010-06-05 11:54:40 +00:00
|
|
|
/Title.ext
|
2010-06-26 15:26:38 +00:00
|
|
|
/Music/Artist/Album/Lyrics/Title.ext
|
|
|
|
/Music/Artist/Lyrics/Title.ext
|
|
|
|
/Music/Lyrics/Title.ext
|
2010-06-05 11:54:40 +00:00
|
|
|
/Lyrics/Title.ext
|
|
|
|
/Lyrics/Musics/Artist/Album/Title.ext
|
|
|
|
/Lyrics/Musics/Artist/Title.ext
|
|
|
|
/Lyrics/Musics/Title.ext
|
|
|
|
/Lyrics/Title.ext
|
|
|
|
\end{verbatim}
|
|
|
|
|
|
|
|
\subsubsection{Controls}
|
|
|
|
\begin{table}
|
|
|
|
\begin{btnmap}{}{}
|
|
|
|
\ActionWpsVolUp{} / \ActionWpsVolDown
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsVolUp{} / \ActionRCWpsVolDown}
|
|
|
|
& Volume up/down.\\
|
|
|
|
%
|
|
|
|
\ActionWpsSkipPrev
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSkipPrev}
|
|
|
|
& Go to beginning of track, or if pressed while in the
|
|
|
|
first seconds of a track, go to the previous track.\\
|
|
|
|
%
|
|
|
|
\ActionWpsSeekBack
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSeekBack}
|
|
|
|
& Rewind in track.\\
|
|
|
|
%
|
|
|
|
\ActionWpsSkipNext
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSkipNext}
|
|
|
|
& Go to the next track.\\
|
|
|
|
%
|
|
|
|
\ActionWpsSeekFwd
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsSeekFwd}
|
|
|
|
& Fast forward in track.\\
|
|
|
|
%
|
|
|
|
\ActionWpsPlay
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsPlay}
|
|
|
|
& Toggle play/pause.\\
|
|
|
|
%
|
|
|
|
\ActionWpsStop \nopt{ONDIO_PAD}{or \ActionWpsBrowse}
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsStop or \ActionRCWpsBrowse}
|
|
|
|
& Exit the plugin.\\
|
|
|
|
%
|
|
|
|
\ActionWpsContext
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsContext}
|
|
|
|
& Enter timetag editor.\\
|
|
|
|
%
|
|
|
|
\opt{ONDIO_PAD}{\ActionWpsBrowse}%
|
|
|
|
\nopt{ONDIO_PAD}{\ActionWpsMenu}%
|
|
|
|
\opt{HAVEREMOTEKEYMAP}{& \ActionRCWpsMenu}
|
|
|
|
& Enter \setting{Lrcplayer Menu}.\\
|
|
|
|
%
|
|
|
|
\end{btnmap}
|
|
|
|
\end{table}
|
|
|
|
|
|
|
|
\subsubsection{Lrcplayer Menu}
|
|
|
|
|
|
|
|
\begin{description}
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Theme settings.] Change theme related settings.
|
2010-06-05 11:54:40 +00:00
|
|
|
\begin{description}
|
|
|
|
\opt{lcd_bitmap}{%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Show Statusbar.] Show / hide the statusbar.
|
|
|
|
\item[Display Title.] Show / hide the track title.
|
2010-06-05 11:54:40 +00:00
|
|
|
}%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Display Time.] Show / hide the current time.
|
2010-06-05 11:54:40 +00:00
|
|
|
\opt{lcd_color}{%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Inactive Colour.] Set the colour of the inactive part of the lyrics.
|
2010-06-05 11:54:40 +00:00
|
|
|
}%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Backlight Force On.] Do not turn off the backlight while displaying
|
|
|
|
the lyrics.
|
2010-06-05 11:54:40 +00:00
|
|
|
\end{description}
|
|
|
|
\opt{lcd_bitmap}{%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Display Settings.] Change how the lyrics are displayed.
|
2010-06-05 11:54:40 +00:00
|
|
|
\begin{description}
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Wrap.] Breaks lines at white space.
|
|
|
|
\item[Wipe.] Wipes the text.
|
|
|
|
\item[Alignment.] Align text to the left, centre, or right.
|
2010-06-05 11:54:40 +00:00
|
|
|
\item[Activate Only Current Line.]
|
2010-06-26 15:26:38 +00:00
|
|
|
Activate only the current line, or the current and previous lines.
|
2010-06-05 11:54:40 +00:00
|
|
|
\end{description}
|
|
|
|
}%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Lyrics Settings.] Change how the lyrics files are loaded.
|
2010-06-05 11:54:40 +00:00
|
|
|
\begin{description}
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Encoding.] Sets the codepage used in the plugin.
|
2010-06-05 11:54:40 +00:00
|
|
|
\opt{swcodec}{%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Read ID3 tag.] Read lyrics from id3 tags in mp3 files.
|
2010-06-05 11:54:40 +00:00
|
|
|
}%
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Lrc Directory.] Set the directory where lyrics files are stored,
|
|
|
|
must be a maximum of 63 bytes.
|
2010-06-05 11:54:40 +00:00
|
|
|
\end{description}
|
2010-06-26 15:26:38 +00:00
|
|
|
\item[Playback Control.] Show the playback control menu.
|
|
|
|
\item[Time Offset.] Set an offset for the time tags for the lyrics currently in use.
|
|
|
|
\item[Timetag Editor.] Enter the timetag editor.
|
2010-06-05 11:54:40 +00:00
|
|
|
\item[Quit.] Exit the plugin.
|
|
|
|
\end{description}
|
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
\subsubsection{Editing the time tags}
|
2010-06-05 11:54:40 +00:00
|
|
|
|
2010-06-26 15:26:38 +00:00
|
|
|
The display time for each line can be changed with the timetag editor.
|
|
|
|
Selecting a line changes its time to the current position of the track.
|
|
|
|
To set a specific time or to adjust the time, press \ActionStdContext{} to
|
|
|
|
bring up a screen to adjust the time.
|
2010-06-05 11:54:40 +00:00
|
|
|
Changes will be saved automatically when the song is changed.
|
|
|
|
Edting words in lyrics is not supported.
|