Bug 406568 - Automatically fetch lyrics from the internet
Summary: Automatically fetch lyrics from the internet
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: HI wishlist
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
: 426781 428837 446140 483726 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-15 15:28 UTC by Nate Graham
Modified: 2024-10-16 16:03 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2019-04-15 15:28:29 UTC
Elisa now displays lyrics embedded in the file's Lyrics tag, which is fantastic.

It would be even more fantastic if, for songs without this tag, Elisa could fetch lyrics from the internet like Amarok, JuK and Lollypop can.

Bonus points if it can show a button to write the lyrics into the tag. :)
Comment 1 Matthieu Gallien 2019-04-18 15:09:27 UTC
I have started preliminary work to register Elisa on Musicbrainz.

Do you know which services allow fetching lyrics and is usable by a free software application ?

I would like the usage of web services to be an highlight of the future next stable version.
Comment 2 Nate Graham 2019-04-18 17:38:55 UTC
Thanks Matthieu! I'm really looking forward to this. As for providers, lyrics.wikia.com has an API you can use: http://lyrics.wikia.com/api.php

Here is how JuK does it, for reference: https://cgit.kde.org/juk.git/tree/lyricswidget.cpp#n68

I wonder if this code should be in a framework, so both can use it...
Comment 3 Nate Graham 2020-09-21 20:50:02 UTC
Updated link to the place where JuK does it: https://invent.kde.org/multimedia/juk/-/blob/master/lyricswidget.cpp#L69
Comment 4 Nate Graham 2020-11-09 17:50:39 UTC
*** Bug 428837 has been marked as a duplicate of this bug. ***
Comment 5 ivan.planinar 2020-11-09 18:45:37 UTC
Lyrics wikia site is abandoned for good. 

Some other lyrics website with API has to be found.
Comment 6 Nate Graham 2020-11-09 18:50:21 UTC
Darn, that's a shame. Where does Lollypop get its lyrics from?
Comment 7 ivan.planinar 2020-11-09 18:54:50 UTC
Besides Wikia that is no more Lolly gets it from:

1. Genius
2. Metro Lyrics
3. Bing
Comment 8 Nate Graham 2020-11-11 18:12:17 UTC
*** Bug 426781 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2022-01-26 18:33:24 UTC
*** Bug 446140 has been marked as a duplicate of this bug. ***
Comment 10 John 2022-08-22 14:42:07 UTC
I would also like this a lot!!!

Anyone knows where did Amarok use to get his lyrics from?
Comment 11 p92 2022-11-13 10:55:21 UTC
you can look at lyrics sources from clementine application.
Comment 12 Vincenzo Reale 2022-12-31 18:24:58 UTC
Clementine uses a list of providers:

https://github.com/clementine-player/Clementine/blob/master/src/songinfo/songinfoview.cpp#L89
Comment 13 Nate Graham 2024-04-10 20:02:10 UTC
*** Bug 483726 has been marked as a duplicate of this bug. ***
Comment 14 Gerald Cox 2024-05-01 17:42:08 UTC
Take a look at the way the excellent player qmmp accomplishes this via a plugin.
qmmp uses: letras.mus.br