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

catalonia

  • Jr. Member
  • **
  • Posts: 64
In catalunya in spain there is a minority language that has a page with music lyrics but I have not been able to make it work since my knowledge is not great. I would appreciate if someone can do it so that we have a provider in our language.

https://www.viasona.cat/cerca?que=&data=&seccio=viasona_lletres&ordena_camp=data&ordena=ASC&cerca=

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
In catalunya in spain there is a minority language that has a page with music lyrics but I have not been able to make it work since my knowledge is not great.
I would appreciate if someone can do it so that we have a provider in our language.
Hi, welcome to the forum.
Can you try this provider? I have only tested it using the song Mai t'oblidaré by Amelie:

Code
name: viasona
loader: search

variables:
    artist:
        type: artist
        filters:
        - lowercase
        
    title:
        type: title
        filters: artist

config:
    identity url: "https://www.google.com/search?q=viasona+{title}+{artist}"
    identity pattern: ['(?<identity>https://www.viasona.cat/grup/.*?")', 's']
    lyrics url: ""
    lyrics pattern: ['seleccionable">(?<lyrics>.*?)<div class="interior__meta">', 's']

post-filters:
- strip_html
- [regex, '\n\s+',"\n", 's']
- utf8_encode
- entity_decode
- clean_spaces
- trim
Strength and Honour (2025)

catalonia

  • Jr. Member
  • **
  • Posts: 64
You are the best! the filter works, just change the letter of the internal name so that it is capitalized like the others, Viasona, and it would be nice if you could add it with the others!

sveakul

  • Hero Member
  • *****
  • Posts: 3268
This is a text file, just copy paste the code into a .txt file and rename the extension *.yml, then put it in the ..MusicBee\AppData\mb_LyricsReloaded\providers folder with the rest of the ymls..  Capitalize "Viasona" in the "name:" line of the code and that's how it will appear in the lyrics source list, nothing complicated.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
You are the best! the filter works, just change the letter of the internal name so that it is capitalized like the others, Viasona, and it would be nice if you could add it with the others!
Confirming I've added it to the optional providers zip. Enjoy.
Strength and Honour (2025)

catalonia

  • Jr. Member
  • **
  • Posts: 64
thank you very much again, you could do something similar with Versos Perfectos, it is the page where most of the lyrics of Spanish hiphop are stored:
http://versosperfectos.com/autores
I can beta test it and tell you if it works correctly.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
you could do something similar with Versos Perfectos, it is the page where most of the lyrics of Spanish hiphop are stored:
This seems to work. Tested against Warrior by Alberto Gambino and Nuestra vida by Acqua Toffana.

Code
name: Versos Perfectos
loader: static

variables:
    artist:
        type: artist
        filters:
        - lowercase
        - [regex,'\s','-']
        
    title:
        type: title
        filters: artist

config:
    url: "http://versosperfectos.com/canciones/{artist}-{title}"
    pattern: ['<p>(?<lyrics>.*?)</p>', 's']

post-filters:
- br2nl
- utf8_encode
- entity_decode
- clean_spaces
- trim
Strength and Honour (2025)

catalonia

  • Jr. Member
  • **
  • Posts: 64

catalonia

  • Jr. Member
  • **
  • Posts: 64
question I have, I have an album that does not have the songs embedded. Is there any way to choose a provider for example Genius and have MusicBee embed all the lyrics to all the songs in the album?

sveakul

  • Hero Member
  • *****
  • Posts: 3268
question I have, I have an album that does not have the songs embedded. Is there any way to choose a provider for example Genius and have MusicBee embed all the lyrics to all the songs in the album?
Please don't spam the plugin thread, post this in the Questions forum after spending some time yourself using the forum-only search tool here: https://cse.google.com/cse?cx=426af386625354430#gsc.tab=0

The answer to the question involves highlighting the tracks in the album, then right-click and choose auto-tag by track, update missing lyrics.  First however you would need to tell MusicBee to EMBED the lyrics when found, and be sure Genius is the only source selected in the plugin, with the Beenius plugin actually to be preferred.  The moral is, there often are no "just click on this" solutions, and not to depend on others to micro-manage them.

catalonia

  • Jr. Member
  • **
  • Posts: 64
A bug that I have found, I have tried it with many songs in Genius and in all of them it happens the same, for example with this one:
https://genius.com/Cpv-y-ahora-ke-eh-lyrics

everything that is in brackets that in this case is the name of the singers does not come out.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
everything that is in brackets that in this case is the name of the singers does not come out.
You mean sections like [Intro: Mr. Rango]? That's intentional on the default provider by consensus.
But I will provide you with a revised version when I get home later in the day - you will be able to place the Genius.yml in your providers folder to override the built-in behaviour.
Strength and Honour (2025)

catalonia

  • Jr. Member
  • **
  • Posts: 64
Yes, I would really like to have both versions because for hip hop music I prefer the names of the singers. If you can also make a fuzzy version apart from the normal one I would appreciate it so I will have all 4 versions:

 - Genius
 - Genius Headers
 - Genius (fuzzy)
 - Genius Headers (fuzzy)
Last Edit: December 04, 2024, 08:45:53 PM by catalonia

sveakul

  • Hero Member
  • *****
  • Posts: 3268
Yes, I would really like to have both versions because for hip hop music I prefer the names of the singers. If you can also make a fuzzy version apart from the normal one I would appreciate it so I will have all 4 versions:

 - Genius
 - Genius headers
 - Genius (fuzzy)
 - Genius headers (fuzzy)
Man you don't ask for much.  As Mayibongwe pointed out the current behavior of not including bracketed text was requested and has been appreciated by others for years now.  None of these patterns produce perfect results for all titles, that's just a fact we accept in an inexact science.  I (and others) would be opposed to changing the current compromise unless presented as an OPTION that can be toggled on or off by the user, as opposed to having our Providers folder and search order lists filled up by 4 different versions of the same thing.

BTW, the Beenius plugin, which searches only Genius and via an improved API method, has had the ability to exclude bracketed title text since practically day one, by making a change to one of its *.conf file values (titleTrim).  You should read up on its installation and options here and use it : https://github.com/slonopot/Beenius .  BOTH BEENIUS AND LYRICS RELOADED CAN BE USED AT THE SAME TIME.

sveakul

  • Hero Member
  • *****
  • Posts: 3268
Changing the value of "trimTitle": true, to "trimTitle": false, will keep any bracketed title text in the search.