[REQ] Lyrics from LRCLIB? [#16494]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

pandaeye0
Beiträge: 5
Registriert: Sa Aug 31, 2024 3:39 am

[REQ] Lyrics from LRCLIB? [#16494]

Beitrag von pandaeye0 »

Hi, I am not new to the software but has just upgraded. I am not sure if this has been asked before, but is there a plan on including LRCLIB as a source of lyrics?

lrclib. net
Lowlander
Beiträge: 59345
Registriert: Sa Sep 06, 2003 5:53 pm

Re: [REQ] Lyrics from LRCLIB?

Beitrag von Lowlander »

Generally additional sources are left to Addon developers.

There is a related request for this though: https://www.ventismedia.com/mantis/view.php?id=16494
rusty
Beiträge: 9041
Registriert: Di Apr 29, 2003 3:39 am

Re: [REQ] Lyrics from LRCLIB?

Beitrag von rusty »

Hmm... this looks very interesting as many of the lyrics are synced. If no addon dev looks into this, I think synced lyric support would be a great new feature for MMW!

Thanks!

-Rusty
pandaeye0
Beiträge: 5
Registriert: Sa Aug 31, 2024 3:39 am

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von pandaeye0 »

Thanks for considering the suggestion. Apart from synced, it appears that this source has a better archive on chinese songs which are not on the other existing sources. And open source plus open contribution as well, if that matters.
pandaeye0
Beiträge: 5
Registriert: Sa Aug 31, 2024 3:39 am

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von pandaeye0 »

Dear Dev, I finally got the MM2024 installed after its release. After some testing on lrclib (a few songs so not exactly sure), I notice that even if the song has synced lyrics, MM returned the plain lyrics. Is it possible to check the code to see whether it is the case?

The relevant API document is appended for your ease of reference:

https:// lrclib. net/docs
Example request

Code: Alles auswählen

GET /api/get?artist_name=Borislav+Slavov&track_name=I+Want+to+Live&album_name=Baldur%27s+Gate+3+(Original+Game+Soundtrack)&duration=233
Example response
200 OK:

Code: Alles auswählen

{
  "id": 3396226,
  "trackName": "I Want to Live",
  "artistName": "Borislav Slavov",
  "albumName": "Baldur's Gate 3 (Original Game Soundtrack)",
  "duration": 233,
  "instrumental": false,
  "plainLyrics": "I feel your breath upon my neck\n...The clock won't stop and this is what we get\n",
  "syncedLyrics": "[00:17.12] I feel your breath upon my neck\n...[03:20.31] The clock won't stop and this is what we get\n[03:25.72] "
}
An example is given below:

https:// lrclib. net/search/%E5%A4%AA%E9%99%BD%E6%98%9F%E8%BE%B0
(Cantonese song, sorry if the encoding mess things up, but it demonstrate the idea)

Naturally I would like MM to return synced lyrics by default and plained lyrics otherwise.
Peke
Beiträge: 18592
Registriert: Di Jun 10, 2003 7:21 pm

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von Peke »

Hi,
Have you moved lrclib.net to be first on Lyrics search list in Metadata Lookup Options?
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Bild
Bild
Bild
How to attach PICTURE/SCREENSHOTS to forum posts
pandaeye0
Beiträge: 5
Registriert: Sa Aug 31, 2024 3:39 am

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von pandaeye0 »

Peke hat geschrieben: Mi Jan 01, 2025 6:43 pm Hi,
Have you moved lrclib.net to be first on Lyrics search list in Metadata Lookup Options?
Uh...no, I was not aware of that option and I can try changing it. But I am pretty sure that no match can be found on any other sources (had run lyrics search for the whole library in previous version and no match, which is not surprising as mine are mostly cantonese songs). And as I watched the status bar, the lyrics was displayed when the status bar last stopped at lrclib.net.
Peke
Beiträge: 18592
Registriert: Di Jun 10, 2003 7:21 pm

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von Peke »

Hi,
If you prefer synced lyrics, you should tweak lyrics search a bit.

Also keep an eye on latest betas from viewtopic.php?t=86639&sd=d it is new feature so expect tweaks ;)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Bild
Bild
Bild
How to attach PICTURE/SCREENSHOTS to forum posts
pandaeye0
Beiträge: 5
Registriert: Sa Aug 31, 2024 3:39 am

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von pandaeye0 »

Peke hat geschrieben: Do Jan 02, 2025 8:01 am Hi,
If you prefer synced lyrics, you should tweak lyrics search a bit.

Also keep an eye on latest betas from viewtopic.php?t=86639&sd=d it is new feature so expect tweaks ;)
Sorry I don't understand. Do you mean I can already change setting in build 3082 to default getting synced lyrics, or do I have to wait for later version?
Peke
Beiträge: 18592
Registriert: Di Jun 10, 2003 7:21 pm

Re: [REQ] Lyrics from LRCLIB? [#16494]

Beitrag von Peke »

Hi,
Synced Lyrics is added into Alpha 3101 build from link I sent you.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Bild
Bild
Bild
How to attach PICTURE/SCREENSHOTS to forum posts
Antworten