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

sveakul

  • Hero Member
  • *****
  • Posts: 3335
I'm sorry but I don't have the time to do that myself.  I placed your script directly above the Beenius choice, and if lyrics came back from Beenius but not from your YML, I sent the artist/title to clipboard.

hiccup

  • Hero Member
  • *****
  • Posts: 9190
I'm sorry but I don't have the time to do that myself.
If that is already too much effort for you, don't bother asking me to put time and effort in improving or creating yml's again.
(and 'project Bandcamp' is now dead as far as I am concerned)

------------------------

To anyone running into a song that fails to get the lyrics fetched while you are sure Genius has it:

Please provide:

-  artist - title
-  the web-link to that song on Genius
   (it will look like: https://genius.com/artist-title-lyrics)
Last Edit: June 19, 2025, 03:29:53 PM by hiccup

hiccup

  • Hero Member
  • *****
  • Posts: 9190
The Genius (update) yml that I posted here earlier has been updated again.

-  some further improvements on the success-rate

jackresets

  • Newbie
  • *
  • Posts: 1
Hey there, this is probably dumb, where do I see the lyrics.... I have checked everywhere...

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10305
Hey there, this is probably dumb, where do I see the lyrics.... I have checked everywhere...
In the lyrics panel.
Open the Configure Layout window (click on the square box to the left of the search field > arrange panels. Find the lyrics element in the list on the right side and drag it to and panel on the left side that's showing a red bar.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

quick_wango

  • Jr. Member
  • **
  • Posts: 111
  • Software Engineer
@Mayibongwe I have not been able to find the source code for the latest version of the plugin (1.2.7), which seems to still contain code licensed under GPL v3. So please either publish the corresponding source code or stop redistributing the plugin. As of now you seem to be in breach of the license. If the source code has been published, please clearly document where people can see it when downloading the binary version of the plugin.
Last Edit: June 28, 2025, 05:59:41 PM by quick_wango

hiccup

  • Hero Member
  • *****
  • Posts: 9190
So please either publish the corresponding source code or stop redistributing the plugin.
Mayibongwe has always shared the source code, which is clearly visible and available from the download page:



It only seems that when he released version 1.2.7, he forgot to update the source code download for that version.

Much more importantly: I hope he is well.
 

quick_wango

  • Jr. Member
  • **
  • Posts: 111
  • Software Engineer
Yes he always did, until he stopped doing it. I'm not saying he did so intentionally, but at this point intentions don't matter much. I originally offered him to cover publishing for him, but he decided to do it himself, which is perfectly fine by me and according to the GPL, but he is required to include source code. I intentionally picked this license to force the plugin to stay open source, no matter who takes over and that's the one thing I'll be strict about. Since the license is violated, all rights granted by the license are void and he is basically in copyright infringement. The same goes for anyone else redistributing version 1.2.7. If the situation is not corrected soon-ish, I will have to find out how to copyright-claim files on gdrive, as unfortunate as that will be.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10305
Yes he always did, until he stopped doing it.
@quick_wango-
It's quite likely that Mayibongwe may not see this. He was last on the forum on May 12. I believe around that time he stated that he was extremely busy with work. I suggest you send him a PM as he would get notified via email that there's a PM waiting for him.

It's probably just an oversight and as you and others said, it's probably not intentional. If he was quite busy at the time he posted the last update, it's certainly a  possibility he forgot the GPL.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 9190
It's probably just an oversight and as you and others said, it's probably not intentional. If he was quite busy at the time he posted the last update, it's certainly a  possibility he forgot the GPL.
I had also already explained that to quick_wango. (also over PM)
But he obviously doesn't give a fuck.

I'll make sure to keep copies of 1.2.7, and make it available to anyone who wants it if quick_wango is going to make things difficult for everybody.

quick_wango

  • Jr. Member
  • **
  • Posts: 111
  • Software Engineer
@quick_wango-
It's quite likely that Mayibongwe may not see this. He was last on the forum on May 12. I believe around that time he stated that he was extremely busy with work. I suggest you send him a PM as he would get notified via email that there's a PM waiting for him.

Good note. I have contacted him via PM. Unfortunately we never exchanged other contact details.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1736
  • Heal The World
Hi Guys,

Apologies for the lack of communication here and the oversights.
I would indeed have forgotten to update the source code release on the previous update.
I shall correct that by the weekend if not earlier.

__

There's just big changes happening in my life at the moment - work being what's got me occupied the most. I can't exactly put a date to when things will settle down again, but without a doubt, i still do have commitments here on the forum - i always will.
Strength and Honour (2025)

hiccup

  • Hero Member
  • *****
  • Posts: 9190
I can't exactly put a date to when things will settle down again, but without a doubt, i still do have commitments here on the forum - i always will.
Very glad to hear you are still alive and kicking.

And—needless to say—you don't have any obligations to the forum.
Life is more important.
(but it would be nice to have you back contributing to the forum if you find the time/motivation/fun again sometime in the future ;-)
Last Edit: July 02, 2025, 05:50:54 PM by hiccup

boroda

  • Hero Member
  • *****
  • Posts: 5316

diagonWriter

  • Newbie
  • *
  • Posts: 1
an updated Genius yml

I probably haven't followed the latest changes and developments of Lyrics Reloaded very well, but I noticed that in the latest version (1.2.7) Genius doesn't seem to work anymore?

So I took it upon myself to create a new Genius yml.
It's already working pretty good, but I'll probably refine it some more in the coming weeks.

To further improve on the success rate of Genius I tried to also create a new 'fuzzy' version.
But I can't get that one to work at all.
I'll probably need some help from Mayibongwe or frankz to figure out what is wrong, but both have (regrettably) been AWOL for a while, so it looks like I am stuck for now for a 'fuzzy' version.

To use this new Genius yml:

-  create a new textfile
-  copy/paste the code below into it
-  rename the file to: Genius (update).yml
-  copy that file into:
   AppData > mb_LyricsReloaded > providers
-  restart MusicBee
-  Edit > Preferences > Tags (2) > uncheck 'Genius', and check 'Genius (update)'

That's pretty much it.

If you want to help improving this Genius yml, let me know if you run into songs that don't get their lyrics fetched.
  if you are sure that Genius has them
  (provide the artist, title, and the Genius weblink to that song)

- - -

Note:

This Genius (update) yml is 'exact'.
Meaning that any misspelling of a name or title will result in failing to retrieve the lyrics.

So if your artists and titles are tagged correctly (e.g. by using MusicBrainz/Picard), this yml will deliver very good results.
But if your artist/title tags are 'somewhat sloppy', or you are using radio streams (often providing simplified and modified names/titles ), 'Genius (update)' will say "no", and will not retrieve lyrics.

To accommodate for such misspellings or variations of names/titles, some 'fuzzy' matching is required.
For that, an (additional) 'fuzzy' version of a Genius yml is required.
Regrettably, the currently existing 'fuzzy' yml's don't seem to work anymore, and even after trying my best, I reached my ceiling, and am unable to create a functioning fuzzy version.

But…
Luckily there is also the Beenius plugin.
That one uses the official Genius API, that happens to have 'fuzziness' build-in, that allows for some variations or misspellings. (with a very small chance of retrieving the wrong lyrics)

So my advice would be to set 'Genius (updated)' as the first provider (precise), and Beenius as second. (slightly fuzzy)

(until I figured out how to get 'my' Genius (fuzzy)' yml working that is ;-)

- - -

Code
name: Genius  (update)
loader: static

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "&", "and"]
        - [replace, "!!!", "chk-chk-chk"]
        - [replace, "†††", "crosses"]
        - [replace, "ac/dc", "ac dc"]
        - [replace, "amenra", "amenra cor"]
        - [replace, "atom™", "atomtm"]
        - [replace, "‐m‐", "m fra"]
        - [replace, "²/", "2 "]
        - [replace, "'", ""]
        - [regex, '^mo$', "mo nld"]
        - [regex, '^saga$', "saga can"]
        - [regex, '\sw\/.*', ""]
        - [regex, '\s?/\s?', " and "]
        - [regex, '(?<=\w)[-‐](?=\w)', " "]
        - [regex, '[\(\)]', ""]
        - [regex, '[\+•]\s', ""]
        - [regex, '†\s?', ""]
        - [regex, '!(?=[a-z])', " "]
        - [regex, '\swith\s.*', ""]
        - [regex, '[ıæø’\.\,"“”=!\?]', ""]
        - [regex, '\$(?=[a-z])', " "]
        - [regex, '\/:\$', ""]
        - [replace, " ", "-"]

    title:
        type: title
        filters:
        - strip_diacritics
        - [replace, "&", "and"]
        - [replace, "×", "x"]
        - [replace, "10,000", "10 000"]
        - [replace, "'", ""]
        - [replace, "%", ""]
        - [regex, '[\u3040-\u309F\u30A0-\u30FF\u4E00-\u9FFF]', ""]
        - [regex, '\sw\/', " w"]
        - [regex, '(\s\/\s|\/)', " "]
        - [regex, '†\s?', ""]
        - [regex, ':\s?', " "]
        - [regex, '[\+=→–]\s', ""]
        - [regex, '\$(?=[a-zA-Z])', " "]
        - [regex, '[\?\(\)\.\,…“”"’!¡@$=°ıæø#]', ""]
        - [regex, '[—‐]', " "]
        - [regex, '(?<=\w\w)·(?=\w\w)', " "]
        - [regex, '_\s?', ""]
        - [regex, '·', ""]
        - trim
        - [replace, " ", "-"]

config:
    url: "https://genius.com/{artist}-{title}-lyrics"
    pattern: ['body\\":{\\"html(?<lyrics>.*)<\\/p>\\\\n\\\\n\\', 's']

post-filters:
- [regex, '\\.*(?=<p>)<p>', "<br>"]
- [regex, '<br>\\\\n', "<br>"]
- br2nl
- [regex, '\\', ""]
- [regex, '<a href.[^>]*>', ""]
- strip_html
- [regex, '\[.{1,75}\]', ""]
- [regex, '\n{2,}',"\n\n", 's']
- [regex, '\[(\[)',"$1", 's']
- [regex, 'Feat\..*', ""]
- trim
last updated:  2025-06-24
I might be dumb, but I can not get this yml to load. I havent had issues with any other ones, but this one will not load for me. Genius (update) does not want to show itself.