Author Topic: Museexmatch - Musixmatch for MusicBee [+ synced]  (Read 27468 times)

sveakul

  • Hero Member
  • *****
  • Posts: 3262

Jafigg

  • Jr. Member
  • **
  • Posts: 52
Hi,
I follow the step-by-step install for portable Musicbee, everything went OK, till today...
When I retrieve lyrics from the plugin, I've got the message inside the lyrics "We are not robots after all", kind of "Your IP is blocked" and so on.

Any Idea ?
Thanks

slonopot

  • Jr. Member
  • **
  • Posts: 94
When I retrieve lyrics from the plugin, I've got the message inside the lyrics "We are not robots after all", kind of "Your IP is blocked" and so on.

What the track is? Does it happen to all the tracks? Just checked mine, seems alright. If it does happen all the time, reboot your router to change your IP and check again. I'd like to also know the full text, there's no reason for them to append info about IP bans to the actual lyrics, this usually comes as an error in a different part of the response.

sveakul

  • Hero Member
  • *****
  • Posts: 3262
Hi,
I follow the step-by-step install for portable Musicbee, everything went OK, till today...
When I retrieve lyrics from the plugin, I've got the message inside the lyrics "We are not robots after all", kind of "Your IP is blocked" and so on.

Any Idea ?
Thanks
Someone over at the AIMP forum mentioned his self-scripted Musixmatch lyrics finder was getting stopped by captcha requests after working for a while, sounds like the same scenario.  I recall hearing they do perform geo-blocking of some kind.  Museexmatch is still going strong and steady for me.  Jafigg, have you tried the newly edited Musixmatch search embedded inside LyricsReloaded 1.2.1?

Jafigg

  • Jr. Member
  • **
  • Posts: 52
Hi,
I follow the step-by-step install for portable Musicbee, everything went OK, till today...
When I retrieve lyrics from the plugin, I've got the message inside the lyrics "We are not robots after all", kind of "Your IP is blocked" and so on.

Any Idea ?
Thanks
Someone over at the AIMP forum mentioned his self-scripted Musixmatch lyrics finder was getting stopped by captcha requests after working for a while, sounds like the same scenario.  I recall hearing they do perform geo-blocking of some kind.  Museexmatch is still going strong and steady for me.  Jafigg, have you tried the newly edited Musixmatch search embedded inside LyricsReloaded 1.2.1?

Yes, won't work... I'm on portable, should I copy (or move) the providers folder in C:\Users\Myusername\AppData\Roaming instead of portable path instead ? Don't think it help because Musixmatch is detected. What I exactly got is:
We detected that your IP is blocked.
It looks like you're a bot or more likely your network may have been blacklisted for some reason.
Please confirm you are a human by checking the box.
Seems to be a web page, but browsing the site  through chrome don't ask me for captcha...
Last Edit: June 24, 2024, 10:58:47 AM by Jafigg

Jafigg

  • Jr. Member
  • **
  • Posts: 52
When I retrieve lyrics from the plugin, I've got the message inside the lyrics "We are not robots after all", kind of "Your IP is blocked" and so on.

What the track is? Does it happen to all the tracks? Just checked mine, seems alright. If it does happen all the time, reboot your router to change your IP and check again. I'd like to also know the full text, there's no reason for them to append info about IP bans to the actual lyrics, this usually comes as an error in a different part of the response.
All of them :-(
I'll try to reboot and see what happen...

[edit] reboot does nothing...
Last Edit: June 24, 2024, 10:53:59 AM by Jafigg

sveakul

  • Hero Member
  • *****
  • Posts: 3262
Yes, won't work... I'm on portable, should I copy (or move) the providers folder in C:\Users\Myusername\AppData\Roaming instead of portable path instead ?
If you are using MusicBee Portable, why would your LyricsReloaded "providers" folder be on that path?  It should be on  ..MusicBee/Appdata/mb_LyricsReloaded/providers.

You may be confusing the LyricsReloaded plugin with slonopot's Museexmatch (and Beenius) plugin, neither of which have anything to which each other, other than both are lyrics retrieval plugins.  They operate on completely different paths outside of both starting in the MusicBee "Plugins" directory.  The source selector at Prefs/Tags(2) was written by Steven to accomodate various types of lyrics plugins, not just LR.

If you are using LR 1.2.1, and have both the "Musixmatch" and "Musixmatch (fuzzy)" choices checked (which are built-in to the DLL and NOT separate yml files), you've got all that plugin can deliver as far as that source.  Continued discussion there should be posted to the LyricsReloaded thread, not here.

With "Museexmatch" checked also, you're also using slonopot's API-based plugin for Musixmatch, which was also recently updated (and working GREAT here BTW!!)

If nothing works for you in delivering lyrics from Musixmatch, that site must be blocking you either for a geo-specific reason (e.g. I read they are not happy with users in Russia, although it could be the other way around as with Metal Archives) or because your IP address has been associated by them with some kind of site abuse, real or imaginary.  In that case your only option is to try connecting via a VPN, which is a "study" all its own.
Last Edit: June 24, 2024, 11:10:26 AM by sveakul

Jafigg

  • Jr. Member
  • **
  • Posts: 52
Yes, won't work... I'm on portable, should I copy (or move) the providers folder in C:\Users\Myusername\AppData\Roaming instead of portable path instead ?
If you are using MusicBee Portable, why would your LyricsReloaded "providers" folder be on that path?  It should be on  ..MusicBee/Appdata/mb_LyricsReloaded/providers.

You may be confusing the LyricsReloaded plugin with slonopot's Museexmatch (and Beenius) plugin, neither of which have anything to which each other, other than both are lyrics retrieval plugins.  They operate on completely different paths outside of both starting in the MusicBee "Plugins" directory.  The source selector at Prefs/Tags(2) was written by Steven to accomodate various types of lyrics plugins, not just LR.

If you are using LR 1.2.1, and have both the "Musixmatch" and "Musixmatch (fuzzy)" choices checked (which are built-in to the DLL and NOT separate yml files), you've got all that plugin can deliver as far as that source.  Continued discussion there should be posted to the LyricsReloaded thread, not here.

With "Museexmatch" checked also, you're also using slonopot's API-based plugin for Musixmatch, which was also recently updated (and working GREAT here BTW!!)

If nothing works for you in delivering lyrics from Musixmatch, that site must be blocking you either for a geo-specific reason (e.g. I read they are not happy with users in Russia, although it could be the other way around as with Metal Archives) or because your IP address has been associated by them with some kind of site abuse, real or imaginary.  In that case your only option is to try connecting via a VPN, which is a "study" all its own.
Works with a VPN... I'll use it now to retrieve and embed the lyrics in the file.
Thanks for your help.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
Works with a VPN...
Do you mind disclosing what country you are based in?
Strength and Honour (2025)

sveakul

  • Hero Member
  • *****
  • Posts: 3262
slonopot--noticed just now an unusual deviation from the plugin's normally spot-on performance;  for (artist/title) Lily the Kid - Ghost, Museexmatch returned the below;  it was the only return from the included MB LR sources.  There's no 100% perfect but just thought you could check to be sure the site isn't sliding into some new format again.  This was the "regular" 1.06 in use not the pixeldrain mod:

Source: Musixmatch via Museexmatch

Joan The Kid Babe

Torno a casa accompagnato dalla luna
Vorrei sparire come thasup tipo moonstar
Vagare per le strade come fossi un clochard
Salvare come una play due senza memory card

Surfo sulle nuvole mi sento libero
Anche se ho i soldi mi sento sempre più misero
Quando sarò stanco no non mi riposerò
Se ti farò male forse no non mi scuserò

Baby, lascia, non mi, tieni
Voglio, stare, sopra ai, treni
Per far, finta, di volare
Siamo, fiori, nel catrame

Vorrei una ragione per tornare a scrivere
Parlerei di te ma non ti so descrivere
Brilli come una cometa come venere
Mi hai fatto male di noi è rimasta la cenere

Ma baby stai con me nel chill ancora un po' (ancora un po')
Vediamoci la notte e non facciamo post (non facciamo post)
Non mi faccio più rovinare il mood (mood)
In questa vita preferisco essere un ghost ghost Ghost ghost

Ye ye ye ye
Preferisco essere un ghost
Ghost
Ye ye ye ye

Cancello video e vari scatti che
Riprendono tutti i miei tratti e
Mi tengono ancora vicino a te
Anche se non abbiamo più un legame

Vorrei poter sparire come Casper
Affogare in una dottor Pepper
Salvare le vite come fa Chester
Poter uscire dai guai chiamando Lester

Ma, lo so che mi perdo in momenti che non dovrei dimenticare
Io, perdo tutti i modi di capirti se mi volessi parlare

Ye, ma non fai neanche quello
Ye, non c'è più sentimento
Ye, è stato un bel fallimento
Ye, sangue sul pavimento

Ma baby stai con me nel chill ancora un po' (ancora un po')
Vediamoci la notte e non facciamo post (non facciamo post)
Non mi faccio più rovinare il mood (mood)
In questa vita preferisco essere un ghost ghost Ghost ghost

slonopot

  • Jr. Member
  • **
  • Posts: 94
Lily the Kid - Ghost

This. Validates with the default config, just an unfortunate turn of events.

We detected that your IP is blocked.
It looks like you're a bot or more likely your network may have been blacklisted for some reason.
Please confirm you are a human by checking the box.


If this plugin will receive such response in html format, the exception will be created and handled by musicbee as "no result", so the suggestion that it's not my plugin is correct. If it's your home network, you can try to get a musixmatch mobile app and see if it will work for you at all.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10265
Trying this out for the first time since the Musixmatch YML in the Lyrics Reloaded (latest) plugin stopped working.

I have no need for synced lyrics so I removed the two lines in the conf.template and that took care of them. However, I set "addLyricsSource" to true and and  "Source: Musixmatch via Museexmatch" does not appear with the retrieved lyrics. I have disabled all the other lyrics sources just to be certain I'm only using this one.

Is anyone else seeing this? Or -not- seeing it.
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

slonopot

  • Jr. Member
  • **
  • Posts: 94
Is anyone else seeing this? Or -not- seeing it.

Tested with the lastest version, it works. Make sure that you put your conf file into %appdata%/musicbee/plugins folder, you can put this path into your windows explorer's address bar to the left from search. In %appdata%/musicbee there will be a log file, first line will indicate whether the configuration was loaded.

sveakul

  • Hero Member
  • *****
  • Posts: 3262
Trying this out for the first time since the Musixmatch YML in the Lyrics Reloaded (latest) plugin stopped working.

I have no need for synced lyrics so I removed the two lines in the conf.template and that took care of them. However, I set "addLyricsSource" to true and and  "Source: Musixmatch via Museexmatch" does not appear with the retrieved lyrics. I have disabled all the other lyrics sources just to be certain I'm only using this one.

Is anyone else seeing this? Or -not- seeing it.
As slonopot indicated 5 will get you 10 that you've got the *.conf file in the wrong place--if the plugin can't see the config file it defaults to no source.    First, be sure you removed the "-.template" extension so the file just ends in *.conf.  Then, since I know you have the portable MB like me, put the file museexmatch.conf in the external location c:\...users\(username)\Appdata\Roaming\MusicBee\Plugins.  You may have to make those last two.  That's it!  BTW, I wouldn't delete the options lines just set to false/true.  Here is my Museexmatch conf which avoids synced lyrics like the plague and hauls down the matches:
Code
{
"allowedDistance": 5,
"delimiters":
[
"&",
";",
","
],
"verifyAlbum": false,
"addLyricsSource": true,
"trimTitle": true,
"preferSyncedLyrics": false,
"onlySyncedLyrics": false,
}
After first use a "userToken" line will appear at the end with an auto-filled value, leave it as-is.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10265
Thanks sveakul and slonopot.

My plugins directory is not on my C: drive. MB is installed at G:\MusicBee and under it is the AppData and Plugins directories (among the other directories.)

For testing I have all sources in Tags (2) lyrics disabled except Museexmatch.

The three .dlls plus the .conf files are in G:\MusicBee\Plugins. When I tried with the default .conf I got time-stamped (synced) lyrics which I don't want. Since both "synced" lines in the conf were already set to false, and since the readme says "You are allowed to use only ones you need, just omit the line" I deleted them. And I'm still getting time-stamped lyrics.

I then changed "addLyricsSource" to true. I do not get the source at the top, nor at the bottom, of the retrieved lyrics. When I right-click on the lyrics panel I see "Lyrics Source: Embedded in Music File"

I moved the conf file in G:\MusicBee\AppData but that didn't change anything.

This is my current conf file, which is back in the Plugins directory...
Code
{
    "allowedDistance": 5,
    "delimiters": ["&", ";", ","],
    "verifyAlbum": false,
    "addLyricsSource": true,
    "trimTitle": false,
}

AH HAH!!!
Looking at the log I see that it says "No configuration file was provided, defaults were used." Okay, that explains the behavior I'm seeing even though I've edited the .conf file. I first placed it in G:\MusicBee\Plugins and when that didn't work I placed it in G:\MusicBee\AppData. Since the .conf file isn't recognized in either of those locations, I have to ask, where should it be? If it needs to be somewhere in C:\Users\phred\.... that's not what the readme says. It says all four files go in the Plugins directory.

So now that we know what the problems is, how do I fix it?

Thanks.

EDIT: Here's the log in case it helps...
Code
2024/07/07 21:32:12.116 | Info | Museexmatch.MusixmatchClient..ctor | No configuration file was provided, defaults were used
2024/07/07 21:32:13.318 | Info | Museexmatch.MusixmatchClient..ctor | Got new user token
2024/07/07 21:33:10.167 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="Z:\Music_Files\Grateful Dead\Oakland December 30, 1987\2-9 - Morning Dew  .mp3", artist="Grateful Dead", title="Morning Dew >", album="Oakland December 30 1987", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/07/07 21:33:10.167 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Grateful Dead" - "Morning Dew >" ("Oakland December 30 1987")
2024/07/07 21:33:10.181 | Debug | Museexmatch.MusixmatchClient.search | artist="Grateful Dead", title="Morning Dew >", album="Oakland December 30 1987"
2024/07/07 21:33:10.772 | Info | Museexmatch.MusixmatchClient.search | Found synced lyrics
2024/07/07 21:33:10.772 | Info | Museexmatch.MusixmatchClient.getLyrics | Got a hit
Last Edit: July 08, 2024, 02:51:48 AM by phred
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