Rockbox

Tasklist

FS#8572 - USLT lyric viewer

Attached to Project: Rockbox
Opened by Lechner Michael (smoking_gnu) - Saturday, 09 February 2008, 19:36 GMT
Last edited by Teruaki Kawashima (teru) - Saturday, 09 October 2010, 03:23 GMT
Task Type Patches
Category ID3 / meta data
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This viewer reads the USLT lyrics from a mp3 file and displays them using a gui_list.
You have to select "open with.." on a mp3 file in the file browser to show the lyrics.
I tested it on the sim and on my X5.


This task depends upon

Closed by  Teruaki Kawashima (teru)
Saturday, 09 October 2010, 03:23 GMT
Reason for closing:  Out of Date
Additional comments about closing:  lrcplayer in SVN would do this.
Comment by Lechner Michael (smoking_gnu) - Monday, 11 February 2008, 20:57 GMT
Small update: now it reads the length of the ID3 tag before it starts searching for the lyric tag;
If there's no lyric tag in the file it now doesn't take age anymore till my plugin realizes it ;)
Also a few minor bugfixes and code cleanup.

Comment by Pascal Briehl (ColdSphinX) - Tuesday, 12 February 2008, 05:26 GMT
this could probably merged with the sncviewer plugin
http://www.rockbox.org/tracker/task/7432
Comment by x (vmh) - Tuesday, 12 February 2008, 14:55 GMT
I added USLT support to the sncviewer back in November 2007 due to some requests, but the plugin wasn't intended for unsynchronized lyrics.
I think it's better to have two different plugins, one for synchronized (sncviewer) and one for unsynchronized lyrics (this one).
Comment by Lechner Michael (smoking_gnu) - Wednesday, 13 February 2008, 11:21 GMT
I wrote this plugin for 2 reasons:
1. I thought the sncviewer plugin did NOT support USLT lyrics
2. I wanted to start coding for rockbox anyway.
Comment by George Tamplaru (kratonator) - Sunday, 17 February 2008, 11:40 GMT
I am not able to apply this patch. I get (for -p0 to -p5) the following message:

missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: CATEGORIES
|=================================================
|--- CATEGORIES (revision 16229)
|+++ CATEGORIES (working copy)
--------------------------
File to patch:

What am I doing wrong?
Comment by Lechner Michael (smoking_gnu) - Sunday, 17 February 2008, 22:36 GMT
I did not use ANY -p or --strip option...
The patch works for me...
However I made a new one from the current SVN for you:
Comment by Przemysław Hołubowski (p.h.) - Friday, 11 April 2008, 11:44 GMT
Could you adopt it to the new plugin API? (It does not work with recent builds).
Comment by Lechner Michael (smoking_gnu) - Saturday, 12 April 2008, 20:13 GMT
Sorry, but I can't compile right now. I'll have a look at it on monday.
Comment by Lechner Michael (smoking_gnu) - Wednesday, 16 April 2008, 18:39 GMT
Here's a new, working version (viewports broke the old one) :
Comment by Taylore (trailblaze) - Tuesday, 24 March 2009, 23:38 GMT
Was going to try this, and it patched ok, but it did not compile right... May someone please resync this please.. Thanxs, this patch seems really kool..
Comment by Nick G (gersto) - Thursday, 06 August 2009, 20:47 GMT
this is what i'm getting when i try to compile. I patched with lyric_viewer.diff and then replaced lyric_viewer.c with the one above. compiling for ipod video 5g (30gb)
CC apps/plugins/lyric_viewer.c
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c:32: error: conflicting types for ‘rb’
/home/nicholas/Projects/rockbox/apps/plugin.h:900: error: previous declaration of ‘rb’ was here
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c:37: error: conflicting types for ‘rb’
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c:32: error: previous declaration of ‘rb’ was here
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c:39: warning: unused parameter ‘buf_len’
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c:192: error: conflicting types for ‘plugin_start’
/home/nicholas/Projects/rockbox/apps/plugin.h:902: error: previous declaration of ‘plugin_start’ was here
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c: In function ‘plugin_start’:
/home/nicholas/Projects/rockbox/apps/plugins/lyric_viewer.c:215: error: too many arguments to function ‘rb->splash’
make: *** [/home/nicholas/Projects/rockbox/ipod/apps/plugins/lyric_viewer.o] Error 1

Loading...