Bug 423820

Summary: Feature request:Auto scrolling lyric implementation
Product: [Applications] Elisa Reporter: CommonDService
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: beavailable, drokergeek, nate, postix, trmdi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Built-in lyrics with timeline support

Description CommonDService 2020-07-03 01:28:52 UTC
Created attachment 129857 [details]
Built-in lyrics with timeline support

The support for lyrics in metadata is awesome.
It'd be even better to have the lyrics with timeline data scroll by itself.
As I know,this feature is common on android music players,so developers may refer to their implementation,like https://github.com/kabouzeid/Phonograph/ and https://github.com/rRemix/APlayer .
Thx for the elisa software.
Comment 1 Nate Graham 2020-07-03 14:29:41 UTC
Ooh, that would be nice.
Comment 2 CommonDService 2020-07-04 07:19:53 UTC
https://github.com/aeagean/LyricParser
This is a demo project implemented in C++ for qt,but without a license.I think the regex part may be useful.(srtuct LyricParser)
The demo is done with notes in Chinese,which is my native lang.Feel free to ask me for Chinese meanings if confused.
For the licensing problem,shall I ask the author?(If we use the code)
Comment 3 drokergeek 2022-12-28 13:25:25 UTC
Synced lyrics is another metadata field added in mp3, which is the same as normal lyrics but with added timestamps, and so apps (rare ones implements this feature) can show lyrics in a timely fashion. This could be added as an autoscrolling lyrics, highligthing the current one, and also maybe in the general media player control applet, show the current lyric just below the artist or something like that, would be cool
Comment 4 trmdi 2023-01-11 13:31:48 UTC
This feature has been implemented already.
Comment 5 drokergeek 2023-01-11 13:51:16 UTC
(In reply to trmdi from comment #4)
> This feature has been implemented already.

Hi, how can I enable it? The lyrics doesn't scroll or anything, elisa just displays the whole lyrics as static
I'm on elisa 22.12.1
Comment 6 trmdi 2023-01-11 14:03:31 UTC
(In reply to drokergeek from comment #5)
> (In reply to trmdi from comment #4)
> > This feature has been implemented already.
> 
> Hi, how can I enable it? The lyrics doesn't scroll or anything, elisa just
> displays the whole lyrics as static
> I'm on elisa 22.12.1

You need a lyric like this for example: https://www.megalobiz.com/lrc/maker/Charlie+Puth+-+We+Don+t+Talk+Anymore+feat.+Selena+Gomez.54931408
But I'm not sure if it is available in 22.12.1 or not.
Comment 7 drokergeek 2023-01-11 14:20:15 UTC
(In reply to trmdi from comment #6)
> (In reply to drokergeek from comment #5)
> > (In reply to trmdi from comment #4)
> > > This feature has been implemented already.
> > 
> > Hi, how can I enable it? The lyrics doesn't scroll or anything, elisa just
> > displays the whole lyrics as static
> > I'm on elisa 22.12.1
> 
> You need a lyric like this for example:
> https://www.megalobiz.com/lrc/maker/Charlie+Puth+-
> +We+Don+t+Talk+Anymore+feat.+Selena+Gomez.54931408
> But I'm not sure if it is available in 22.12.1 or not.

Do you mean have the .lrc file as an aside file? What I have is the synced lyrics implemented in the .mp3 file as a standard tag
Comment 8 drokergeek 2023-01-11 14:22:50 UTC
Hmm still doesn't work, I just tried a song with it's .lrc file in the same folder and same name. Maybe in the next release it will be implemented
Comment 9 trmdi 2023-01-11 14:26:28 UTC
> Do you mean have the .lrc file as an aside file? What I have is the synced lyrics implemented in the .mp3 file as a standard tag

1, go to the example link above > click on the Copy button
2, In Elisa, choose the song > View detail >  Modify > Add the Lyrics tag (or modify it) > paste the lyric above into the Lyrics tag.
Comment 10 drokergeek 2023-01-11 14:33:28 UTC
(In reply to trmdi from comment #9)
> > Do you mean have the .lrc file as an aside file? What I have is the synced lyrics implemented in the .mp3 file as a standard tag
> 
> 1, go to the example link above > click on the Copy button
> 2, In Elisa, choose the song > View detail >  Modify > Add the Lyrics tag
> (or modify it) > paste the lyric above into the Lyrics tag.

yeah it does work, and looks nice too, and clickable, but then something has to be changed in elisa, as I shouldn't need to edit the mp3s when the tags already have the synced lyrics embedded in it
Maybe elisa only reads the static lyrics tags and expect it to have the synced lyrics? They are two separated tags