an updated Genius ymlI 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 ;-)- - -
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