Author Topic: LyricsReloaded (Latest)  (Read 64539 times)

hiccup

  • Sr. Member
  • ****
  • Posts: 7937
Ah, I misunderstood, I thought you didn't get it matched at all.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9384
I am getting it from Musixmatch?:
[Off-topic] @ hiccup: What font are you using for your lyrics? [/Off-topic]
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

hiccup

  • Sr. Member
  • ****
  • Posts: 7937
[Off-topic] @ hiccup: What font are you using for your lyrics? [/Off-topic]
It's Candara.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9384
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

hiccup

  • Sr. Member
  • ****
  • Posts: 7937
There seems to be a regression where v.1.1.16 returns less than previous versions in some cases.
For me it doesn't e.g return lyrics for these songs any more:

Genius:
Alessi - Oh Lori
Brian Eno and the words of Rick Holland - Bless This Space
Chet Baker - The Thrill Is Gone

Deezer:
Serge Gainsbourg - Ballade de Melody Nelson

They all get matched when using v1.1.15.4

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1081
  • Heal The World
v1.1.15.4 is the version in which I had experimented with integrating the google searching into Genius and Musixmatch.
The aim was to match tracks which had slightly different tags than those available on the site.
But that, unfortunately, also resulted in cases where incorrect lyrics were returned whenever there wasn't a match or the top search results were not that of the song requested.
So in later versions, I reverted back to how these providers had functioned initially.

Alessi - Oh Lori
Brian Eno and the words of Rick Holland - Bless This Space
Chet Baker - The Thrill Is Gone
This is how the above songs are tagged on the Genius website - the absence or presence of a single letter is enough to throw it off:
Alessi Brothers - Oh Lori
Brian Eno - Bless This Space
Chet Baker - Thrill Is Gone

Serge Gainsbourg - Ballade de Melody Nelson
This one is a surprise as nothing has been changed to the Deezer yml since its introduction.
I have, however, now made a change to it that I think will improve things a little.
That quoted song should be getting matched from v1.1.16.2 onwards.
I have doubts that it worked before, can you reconfirm before updating?
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9384
While I'm not testing the same tracks as hiccup, I have found that I'm getting more successful hits from both Deezer and Letras de musicas than before this plugin was updated and improved. Not that it's a lot, but just the fact that I'm getting them is really nice. I've had them both near the bottom of the order and have moved them up so they're more in the middle.

Thanks Mayibongwe

Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1081
  • Heal The World
Thanks phred. Glad to know the few changes made were positive ones. Appreciate the feedback.
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

Astro Gaze

  • Jr. Member
  • **
  • Posts: 39
Hey Mayibongwe, I know I'm late to the game but, I just wanted to say thanks for taking over this project.
I'm excited to see how it changes under your care.

Gendji

  • Full Member
  • ***
  • Posts: 126
Thank you for this new version, it works very well for me, even with my (sometimes) "complicated" way of tagging :)

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1081
  • Heal The World
Thanks for the comments Astro and Gendji.

Added Megalobiz to the optional providers zip file - it has synchronized lyrics. Things to note about it:

- Given how loose the searching on that site is, you should expect incorrect lyrics for cases where the requested song won't be available.
- You'll be lucky to get lyrics that are *perfectly* in sync with your music. Be prepared to do some adjusting and offsetting to these lyrics.

Tbh, I've added this provider just for the sake of it. My honest opinion to people who may want to use it:
You are better off acquiring and synchronizing unsynced lyrics yourself - MusicBee provides a way for that in the Now Playing tab.
Creating your own synced lyrics is way easier/quicker than trying to adjust somebody else's.
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

rivum

  • Newbie
  • *
  • Posts: 8
for some reason I am not getting any results for genius.
That would be my preferred provider but when I set that as the only source I always get "No Lyrics Found" even though it comes up in a google search from genius.
I do get some results for most songs when I set Google as a provider, though.
Any thoughts on why genius isn't working for me?
I have 1.1.16.2 installed

thanks!

sveakul

  • Sr. Member
  • ****
  • Posts: 2491
I am getting good results from Genius using version  1.1.16.0 and a separate Genius yml file (the built-in version un-checked as a source).  If you wanted to try that copy the code below into a yml (contains customizations from others):

Code
name: Genius custom

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]
        - [regex, "'", ""]
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters: artist

config:
    url: "https://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div data-lyrics-container="true" class="Lyrics__Container-sc-1ynbvzw-6 YYrds">(?<lyrics>.*)<div class="Lyrics__Footer-sc-', 's']

post-filters:
- br2nl
- strip_html
- utf8_encode
- entity_decode
- clean_spaces
- [regex, '\[.{1,75}\]', ""]
- [regex, '\n{2,}',"\n\n", 's']
- trim

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1081
  • Heal The World
Any thoughts on why genius isn't working for me?
I just tested it and the built-in Genius is working fine for me on this latest version of the plugin:  1.1.16.2
(it is identical to the one posted by sveakul above)

Have you checked what the log file is saying? (...\MusicBee\AppData\mb_LyricsReloaded)
Post the log entries for one or two songs - they may give clues.
Last Edit: September 09, 2022, 07:44:39 PM by Mayibongwe
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

rivum

  • Newbie
  • *
  • Posts: 8
ok here's a snippit.  I don't know much about this code so any help welcome!

Quote
09/09/2022 10:57:19 [DEBUG] Lyrics request: The Who - Baba O'Riley - My Generation - Genius
09/09/2022 10:57:19 [INFO] Genius tries to load the lyrics...
09/09/2022 10:57:19 [DEBUG] The constructed URL: https://genius.com/the-who-baba-oriley-lyrics
09/09/2022 10:57:23 [DEBUG] gzip compression detected
09/09/2022 10:57:23 [WARN] The pattern <div class="Lyrics__Container.*?">(?<lyrics>.*)<div class="Lyrics__Footer.*?"> didn't match!
09/09/2022 10:57:23 [INFO] No lyrics found.
09/09/2022 10:57:23 [FAIL] no lyrics found from Genius
09/09/2022 10:57:25 [DEBUG] Lyrics request: The Who - Pinball Wizard - My Generation - Genius
09/09/2022 10:57:25 [INFO] Genius tries to load the lyrics...
09/09/2022 10:57:25 [DEBUG] The constructed URL: https://genius.com/the-who-pinball-wizard-lyrics
09/09/2022 10:57:25 [DEBUG] gzip compression detected
09/09/2022 10:57:25 [WARN] The pattern <div class="Lyrics__Container.*?">(?<lyrics>.*)<div class="Lyrics__Footer.*?"> didn't match!
09/09/2022 10:57:25 [INFO] No lyrics found.
09/09/2022 10:57:25 [FAIL] no lyrics found from Genius