1
Plugins / Re: LyricsReloaded (Latest)
« on: September 30, 2023, 02:14:48 PM »
Yeap all good now. Thank you.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
My bad. The YML's I gave you earlier were not actually from the latest built-in versions.
Try these ones (both #1 and #2 should be fixed for you):
Hi sveakul, yeah, looks like Genius made a recent change to their page. Thanks for picking it up.
Redownload the plugin - it should work now.
@Sekt0r and @belomeclone
You guys have to make a change to the code I supplied a few posts back.
In this piece of the lyrics pattern, remove the digit (6) and things should run smoothly again.
class="Lyrics__Container-sc-1ynbvzw-6.*?"
Copy and paste the content below into an empty text file.
And then save it with a .yml extension e.g. Genius.yml in the following folder ...\MusicBee\AppData\mb_LyricsReloaded\providers
I did not test it yet but this should override the built-in genius version and leave in the square bracket headers (let me know if you'd like the same change done with the fuzzy version).Codename: Genius
variables:
artist:
type: artist
filters:
- strip_diacritics
- lowercase
- [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.*?">(?<lyrics>.*)<div class="Lyrics__Footer-sc-', 's']
post-filters:
- br2nl
- [regex, 'You might also like</div>', "\n"]
- strip_html
- utf8_encode
- entity_decode
- clean_spaces
- [regex, '\n{2,}',"\n\n", 's']
- trim
Edit: Tested and works as expected for me.