2010-01-13, 12:39
Hello,
Confluence offers several views when playing Music, List, Big List, Media Info, etc. Now I would like to add a new view displaying Lyrics whenever a song is played in the following way (in addition to displaying the path in the file view):
Music > Singer English > Leonard Cohen > Greatest Hits :
-------------------------------------------------------------------------------------
01. Song 1...xx:yy | Song 3 (playing)
02. Song 2...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
03. Song 3...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
04. Song 4...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
05. Song 5...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
06. Song 6...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
07. Song 7...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
08. Song 8...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
Several questions:
1. Is it sufficient to add a new <include name="MusicLyricsListView"> in skin/Confluence/720p/ViewsMusicLibrary.xml ?
2. If so, where do I define the string for the new View name? I did not see a $LOCALIZE[xxx] in the View definitions, nor a name in language/*/strings.xml
3. The trickier part, in ViewsMusicLibrary.xml, how to I define how to catch the event when a song is selected for playing, similar to an event handler calling a script?
4. How do I define the Lyrics pane, or could I simply copy the pane definition from skin/Confluence/720p/script-XBMC_Lyrics-main.xml ?
5. Provided the start of a song was caught && there is a song.lrc next to the song.mp3, how could I populate the lyrics pane with the contents?
Any help is very much appreciated so I can start working on it.
Kind regards,
peter
Confluence offers several views when playing Music, List, Big List, Media Info, etc. Now I would like to add a new view displaying Lyrics whenever a song is played in the following way (in addition to displaying the path in the file view):
Music > Singer English > Leonard Cohen > Greatest Hits :
-------------------------------------------------------------------------------------
01. Song 1...xx:yy | Song 3 (playing)
02. Song 2...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
03. Song 3...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
04. Song 4...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
05. Song 5...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
06. Song 6...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
07. Song 7...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
08. Song 8...xx:yy | lyrics lyrics lyrics lyrics lyrics lyrics lyrics
Several questions:
1. Is it sufficient to add a new <include name="MusicLyricsListView"> in skin/Confluence/720p/ViewsMusicLibrary.xml ?
2. If so, where do I define the string for the new View name? I did not see a $LOCALIZE[xxx] in the View definitions, nor a name in language/*/strings.xml
3. The trickier part, in ViewsMusicLibrary.xml, how to I define how to catch the event when a song is selected for playing, similar to an event handler calling a script?
4. How do I define the Lyrics pane, or could I simply copy the pane definition from skin/Confluence/720p/script-XBMC_Lyrics-main.xml ?
5. Provided the start of a song was caught && there is a song.lrc next to the song.mp3, how could I populate the lyrics pane with the contents?
Any help is very much appreciated so I can start working on it.
Kind regards,
peter