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

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
Thanks once more. Sent a pm to @cannibull yesterday (the user who requested the feature in the reloaded thread).
He responded last night. So hopefully, he'll drop by to leave a 'thank you' too. Cheers.
Strength and Honour (2025)

Cannibull

  • Newbie
  • *
  • Posts: 3
I'm just seeing this now, not very active but I've been using your plugin. Thank you :)

sveakul

  • Hero Member
  • *****
  • Posts: 3260
slonopot:  I noticed today that your plugin is no longer drawing lyrics from Musixmatch;  could you take a look at it please?  Thanks.


sveakul

  • Hero Member
  • *****
  • Posts: 3260
Thanks slonopot for the fast fix, 1.04 is working great!

Important note for MusicBee Portable users:  mb_museexmatch versions after 1.01 are designed around the Installer version of MusicBee as far as file placement/permissions.  It will still functon fine in the Portable version if you create the folder "C:\Users\(username)\AppData\Roaming\MusicBee\Plugins" and place just the museexmatch.conf file there from the zip, putting the other 3 files in the normal MusicBee Portable's Plugins directory.

While sloponot covers all this at the Github site and the MusicBee addons page, I'm trying to make what was foggy even to me a little clearer, so Portable users still have the opportunity to get lyrics from the well-stocked Musixmatch source.  I never had to deal with it myself until now as I stuck with version 1.01 which did not have these requirements and had the same functionality, but now of course does not work.


sveakul

  • Hero Member
  • *****
  • Posts: 3260
For MusicBee Portable users--maybe this explains it better:

1.  From the Museexmatch 1.04 7z file, put only the three files NLog.dll, mb_Museexmatch.dll, and Topten_JsonKit.dll into the MB portable's "Plugins" directory, overwriting any there from an earlier version.  If the file Museexmatch.conf exists there, delete it.

2.  Finally, in your existing Windows "Roaming" folder at c:\users\(username)\appdata\roaming, create the folder "MusicBee" and a subfolder inside named "Plugins."  Extract the 4th file from the original Museexmatch 1.04 7z file, "museexmatch.conf.template" into the "Plugins" subfolder and rename it to just "museexmatch.conf".

3.  If this is your first time using this plugin, open MusicBee and go to Prefs/Plugins and be sure it appears there (it should if you followed the instructions).  You shouldn't need to use the "Add plugins" button.

4.  Now, go to Prefs/Tags(2) and in auto-tagging lyrics it will appear in your Lyrics providers list just like with the LyricsReloaded plugin souces--check it and order it the way you want.

The file "museexmatch.conf" you put in the ..roaming\MusicBee\plugins folder is the modifiable options file and can be opened in notepad.  Its use is described in detail here: https://github.com/slonopot/Museexmatch/ .

Hubba-hubba!  I know that is wordy as hell but it sounds a lot more complicated than it actually is.  The result is a fast, accurate, API-based vs. HTML-scraping plugin for one of the best lyrics sites available.

aktor

  • Sr. Member
  • ****
  • Posts: 336

slonopot

  • Jr. Member
  • **
  • Posts: 94
I have normal version. Worked in the past.

I confirmed that yesterday's update 1.0.4 is working just fine, old versions won't work. Are you sure that you are running the latest version?


slonopot

  • Jr. Member
  • **
  • Posts: 94
yes

I'll need more details then, some track artists and titles as they are in the library that are failing for you and your configuration if it's custom would be nice to troubleshoot this further

aktor

  • Sr. Member
  • ****
  • Posts: 336
I re-installed. It works. I forgot how to make it sync lyrics only. i Renamed musicmatch.conf.template to musicmatch.conf and set to this. Don't work.
{
 "allowedDistance": 5,
 "delimiters":
 [
 "&",
 ";",
 ","
 ],
 "verifyAlbum": false,
 "addLyricsSource": false,
 "trimTitle": false,
 "preferSyncedLyrics": true,
 "onlySyncedLyrics": true,
 "userToken": "2406038c8ae681eba5cd3fae47d937467c19ef6161cd498333deca"
}
log:
2024/06/03 17:45:06.407 | Info | Museexmatch.MusixmatchClient..ctor | Configuration file was used: allowedDistance=5, delimiters="&", ";", ",", verifyAlbum=false, addLyricsSource=false, trimTitle=false, preferSyncedLyrics=true, onlySyncedLyrics=true
2024/06/03 17:45:12.492 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Bjork\2001 - Vespertine\01. Hidden Place.flac", artist="Björk", title="Hidden Place", album="Vespertine", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 17:45:12.492 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Björk" - "Hidden Place" ("Vespertine")
2024/06/03 17:45:12.511 | Debug | Museexmatch.MusixmatchClient.search | artist="Björk", title="Hidden Place", album="Vespertine"
2024/06/03 17:45:14.076 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 17:45:14.076 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all
2024/06/03 17:45:16.606 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Bjork\2001 - Vespertine\01. Hidden Place.flac", artist="Björk", title="Hidden Place", album="Vespertine", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 17:45:16.606 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Björk" - "Hidden Place" ("Vespertine")
2024/06/03 17:45:16.606 | Debug | Museexmatch.MusixmatchClient.search | artist="Björk", title="Hidden Place", album="Vespertine"
2024/06/03 17:45:17.002 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 17:45:17.002 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all
Last Edit: June 03, 2024, 04:55:04 PM by aktor

slonopot

  • Jr. Member
  • **
  • Posts: 94
Confirmed and fixed.

Get an update here. This one is no longer available due to [my] release bug.
Last Edit: June 03, 2024, 05:51:01 PM by slonopot

aktor

  • Sr. Member
  • ****
  • Posts: 336
Strange now it works for that bjork album but not for other releases.
2024/06/03 18:30:51.556 | Info | Museexmatch.MusixmatchClient..ctor | Configuration file was used: allowedDistance=5, delimiters="&", ";", ",", verifyAlbum=false, addLyricsSource=false, trimTitle=false, preferSyncedLyrics=true, onlySyncedLyrics=true
2024/06/03 18:30:53.424 | Info | Museexmatch.MusixmatchClient..ctor | Got new user token
2024/06/03 18:31:08.342 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Metallica\1983 - Kill 'Em All\01. Hit The Lights.flac", artist="Metallica", title="Hit The Lights", album="Kill 'Em All", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 18:31:08.342 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Metallica" - "Hit The Lights" ("Kill 'Em All")
2024/06/03 18:31:08.356 | Debug | Museexmatch.MusixmatchClient.search | artist="Metallica", title="Hit The Lights", album="Kill 'Em All"
2024/06/03 18:31:08.752 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 18:31:08.752 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all
2024/06/03 18:31:10.759 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Metallica\1983 - Kill 'Em All\01. Hit The Lights.flac", artist="Metallica", title="Hit The Lights", album="Kill 'Em All", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 18:31:10.759 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Metallica" - "Hit The Lights" ("Kill 'Em All")
2024/06/03 18:31:10.759 | Debug | Museexmatch.MusixmatchClient.search | artist="Metallica", title="Hit The Lights", album="Kill 'Em All"
2024/06/03 18:31:11.107 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 18:31:11.107 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all
2024/06/03 18:31:24.198 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Metallica\2003 - St. Anger\01. Frantic.flac", artist="Metallica", title="Frantic", album="St. Anger", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 18:31:24.198 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Metallica" - "Frantic" ("St. Anger")
2024/06/03 18:31:24.198 | Debug | Museexmatch.MusixmatchClient.search | artist="Metallica", title="Frantic", album="St. Anger"
2024/06/03 18:31:24.812 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 18:31:24.812 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all
2024/06/03 18:31:26.301 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Metallica\2003 - St. Anger\01. Frantic.flac", artist="Metallica", title="Frantic", album="St. Anger", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 18:31:26.301 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Metallica" - "Frantic" ("St. Anger")
2024/06/03 18:31:26.301 | Debug | Museexmatch.MusixmatchClient.search | artist="Metallica", title="Frantic", album="St. Anger"
2024/06/03 18:31:26.503 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 18:31:26.503 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all
2024/06/03 18:32:06.297 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Bjork\2022 - Fossora\01. Atopos.flac", artist="Björk", title="Atopos", album="Fossora", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 18:32:06.297 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Björk" - "Atopos" ("Fossora")
2024/06/03 18:32:06.297 | Debug | Museexmatch.MusixmatchClient.search | artist="Björk", title="Atopos", album="Fossora"
2024/06/03 18:32:06.709 | Info | Museexmatch.MusixmatchClient.search | Found synced lyrics
2024/06/03 18:32:06.728 | Info | Museexmatch.MusixmatchClient.getLyrics | Got a hit
2024/06/03 18:32:20.099 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="D:\Muzika\Bjork\2017 - Utopia\01. Arisen My Senses.flac", artist="Björk", title="Arisen My Senses", album="Utopia", preferSynced=true, providerName="Musixmatch via Museexmatch"
2024/06/03 18:32:20.099 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "Björk" - "Arisen My Senses" ("Utopia")
2024/06/03 18:32:20.099 | Debug | Museexmatch.MusixmatchClient.search | artist="Björk", title="Arisen My Senses", album="Utopia"
2024/06/03 18:32:20.720 | Info | Museexmatch.MusixmatchClient.search | No results for this search
2024/06/03 18:32:20.720 | Info | Museexmatch.MusixmatchClient.getLyrics | Nothing found at all

slonopot

  • Jr. Member
  • **
  • Posts: 94
Musixmatch is so broken, I am literally unable to find any tracks from the list in their search but they are clearly available in the service when I manually build the url. The search is not functional both in the web and in the apps

I switched the plugin to another API method that will actually return correct results for queries, try your library against this build and let me know if it's good now.