Show Posts

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.


Messages - rivum

Pages: 1
1
Plugins / Re: LyricsReloaded (Latest)
« on: September 12, 2022, 06:12:11 PM »
ah that's got it sorted now!! thanks for your help!

One last thing - how do you remove incorrect lyrics from songs?  I have a few that were loaded before I cleaned all this up and pulled the wrong lyrics which, I think, are now stored internally somehow.
Is there a way to clear those and have it recheck for lyrics?


**EDIT** searched the forum and found the answer (which I should have just done in the first place!)

2
Plugins / Re: LyricsReloaded (Latest)
« on: September 12, 2022, 04:08:27 PM »
ok I found the proper text for genius.yml and have updated it.  
Code
name: Genius (2022-1-27)

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 jYfhrf">(?<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

but it still hasn't worked - here is the log after I updated the yml:

Quote
12/09/2022 11:05:37 [INFO] mb_LyricsReloaded in version 1.1.16.2 started!
12/09/2022 11:05:37 [DEBUG] Loading config from field provider_deezer
12/09/2022 11:05:38 [INFO] Provider loaded: Deezer
12/09/2022 11:05:38 [DEBUG] Loading config from field provider_genius
12/09/2022 11:05:38 [INFO] Provider loaded: Genius
12/09/2022 11:05:38 [DEBUG] Loading config from field provider_google
12/09/2022 11:05:38 [INFO] Provider loaded: Google
12/09/2022 11:05:38 [DEBUG] Loading config from field provider_Lyrics_Freak
12/09/2022 11:05:38 [INFO] Provider loaded: Lyrics Freak
12/09/2022 11:05:38 [DEBUG] Loading config from field provider_musixmatch
12/09/2022 11:05:38 [INFO] Provider loaded: Musixmatch
12/09/2022 11:05:38 [DEBUG] Loading config from file: C:\Users\rvanmil\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\genius.yml
12/09/2022 11:05:38 [INFO] Provider loaded: Genius (2022-1-27)
12/09/2022 11:05:38 [DEBUG] Loading config from file: C:\Users\rvanmil\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\musixmatch.yml
12/09/2022 11:05:38 [INFO] Provider loaded: Musixmatch
12/09/2022 11:05:38 [INFO] The provider Musixmatch does already exist and will be replaced.
12/09/2022 11:05:38 [DEBUG] Received a notification of type PluginStartup
12/09/2022 11:05:38 [DEBUG] Received a notification of type MusicBeeStarted
12/09/2022 11:05:40 [DEBUG] gzip compression detected
12/09/2022 11:05:51 [DEBUG] Lyrics request: Weeping Tile - 1st Lady - Cold Snap - Google
12/09/2022 11:05:51 [INFO] Google tries to load the lyrics...
12/09/2022 11:05:51 [DEBUG] The constructed URL: https://www.google.com/search?q=1st-lady+weeping-tile+lyrics
12/09/2022 11:05:52 [DEBUG] gzip compression detected
12/09/2022 11:05:52 [WARN] The pattern </div></div></div></div><div class="hwc"><div class="BNeawe tAd8D AP7Wnd"><div><div class="BNeawe tAd8D AP7Wnd">(?<lyrics>.*)Source: didn't match!
12/09/2022 11:05:52 [INFO] No lyrics found.
12/09/2022 11:05:52 [FAIL] no lyrics found from Google
12/09/2022 11:05:59 [DEBUG] Lyrics request: Weeping Tile - Joint Acc't - Cold Snap - Google
12/09/2022 11:05:59 [INFO] Google tries to load the lyrics...
12/09/2022 11:05:59 [DEBUG] The constructed URL: https://www.google.com/search?q=joint-acct+weeping-tile+lyrics
12/09/2022 11:05:59 [DEBUG] gzip compression detected
12/09/2022 11:06:00 [WARN] The pattern </div></div></div></div><div class="hwc"><div class="BNeawe tAd8D AP7Wnd"><div><div class="BNeawe tAd8D AP7Wnd">(?<lyrics>.*)Source: didn't match!
12/09/2022 11:06:00 [INFO] No lyrics found.
12/09/2022 11:06:00 [FAIL] no lyrics found from Google
12/09/2022 11:06:08 [INFO] Plugin disabled

3
Plugins / Re: LyricsReloaded (Latest)
« on: September 12, 2022, 04:04:04 PM »
sorry, I do see it now!
I didn't change it intentionally but I will see if I can grab a recent version from the site here and let you know how I made out.
thanks!!

4
Plugins / Re: LyricsReloaded (Latest)
« on: September 12, 2022, 03:51:42 PM »
thanks Mayibongwe.  I don't see that file - I don't even think I have a providers subfolder that I can tell!

5
Plugins / Re: LyricsReloaded (Latest)
« on: September 09, 2022, 09:08:00 PM »
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

6
Plugins / Re: LyricsReloaded (Latest)
« on: September 09, 2022, 03:59:50 PM »
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!

7
Screenshots / Re: Config/theme show off thread.
« on: April 21, 2017, 05:26:02 PM »
Finally got my layout how I like it.  I think it turned out pretty nice!


8
You would need to first sort by "Album artist" instead of artist.  This assumes your album artist is something like "Various Artists".

Pages: 1