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

sveakul

  • Hero Member
  • *****
  • Posts: 3260
From Museexmatch on Github:

"Create museexmatch.conf in the %APPDATA%\MusicBee\ directory."

Your screenshot shows that your museexmatch.conf is in the %APPDATA%\MusicBee\Plugins directory with the DLLs instead; move it to:

C:\Users\(username)\Appdata\Roaming\MusicBee
Last Edit: October 13, 2024, 07:56:48 AM by sveakul

nightsandwich

  • Newbie
  • *
  • Posts: 8
Hi there, thanks for the work on the plugin. It works great for me except for one minor thing, it seems like it's fetching based on the "album artist" tag instead of just the "artist" tag. Edited the metadata on some of my tracks to test, and the value for "artist" in the log file matches "album artist" instead of just "artist", is there any way to change it to read "artist" metadata instead?

slonopot

  • Jr. Member
  • **
  • Posts: 94
Hi there, thanks for the work on the plugin. It works great for me except for one minor thing, it seems like it's fetching based on the "album artist" tag instead of just the "artist" tag. Edited the metadata on some of my tracks to test, and the value for "artist" in the log file matches "album artist" instead of just "artist", is there any way to change it to read "artist" metadata instead?

https://github.com/slonopot/Museexmatch/issues/6

soon™

nightsandwich

  • Newbie
  • *
  • Posts: 8
Hi there, thanks for the work on the plugin. It works great for me except for one minor thing, it seems like it's fetching based on the "album artist" tag instead of just the "artist" tag. Edited the metadata on some of my tracks to test, and the value for "artist" in the log file matches "album artist" instead of just "artist", is there any way to change it to read "artist" metadata instead?

https://github.com/slonopot/Museexmatch/issues/6

soon™

Ah, coolio. Thanks for the quick reply and for the work on the plugin again! I'll just hang tight for the time being and just use LRCGET whenever the plugin doesn't work for now then, appreciate it.

musicbox7752

  • Newbie
  • *
  • Posts: 7
is there any way to teach the plugin to pull synchronized song lyrics along with a translation (let's say into Russian)? They're definitely there, and the app itself knows how to use them. it seems that spotify has tested such functionality somewhere too...

slonopot

  • Jr. Member
  • **
  • Posts: 94
is there any way to teach the plugin to pull synchronized song lyrics along with a translation (let's say into Russian)? They're definitely there, and the app itself knows how to use them. it seems that spotify has tested such functionality somewhere too...

It's possible, but I don't see any decent way to display the translation along with the original. Any suggestions? How does it work in the app?

musicbox7752

  • Newbie
  • *
  • Posts: 7
It's possible, but I don't see any decent way to display the translation along with the original. Any suggestions? How does it work in the app?
They display two lines in the application - one is the original and the other is a translation.
it is clear that their software is designed for this and no one else outputs it.


but I made the lrc files with the translation manually, and in fact, a translation line with the same timecode is added there. MusicBee outputs it crookedly (like most players) - but I resigned myself (I was doing a topic on the forum, maybe they'll finish it sometime). You can see how it is displayed there.

but the android Poweramp player highlights two lines at once, which suits me better. Of course, the original application can highlight the translation line in a different color, but that's already an excess in this case. At least just be able to quickly receive lyrics with translation, because making them manually is a very laborious and time-consuming process.

slonopot

  • Jr. Member
  • **
  • Posts: 94
but I made the lrc files with the translation manually, and in fact, a translation line with the same timecode is added there.

Should've done it like this:



The entries are not parsed line-by-line, it's [hh:mm:ss] and text, breaks included.

There's an API for synced translations that could be used. I still don't know exactly how does this feature fit in this plugin, it's quite niche and won't be used by many. I might make it optional and available through configuration for those interested.

If you wish to do it yourself, parse the lines for time and content and rebuild the pairs matching by time, it's pretty straightforward

FireAgentRuby

  • Newbie
  • *
  • Posts: 2
Hi I'm getting a weird exception and I've exhausted my ideas for fixing it. Last night it was working fine and then I started getting this debug notice:

2025/02/17 20:40:44.869 | Info | Museexmatch.MusixmatchClient..ctor | Configuration file was used: allowedDistance=5, delimiters="&", ";", ",", verifyAlbum=false, addLyricsSource=false, trimTitle=false, preferSyncedLyrics=false, onlySyncedLyrics=false
2025/02/17 20:40:46.551 | Info | Museexmatch.MusixmatchClient..ctor | Got new user token
2025/02/17 20:41:21.103 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | source="", artist="The Black Eyed Peas", title="I Gotta Feeling", album="The E•N•D", preferSynced=true, providerName="Musixmatch via Museexmatch"
2025/02/17 20:41:21.103 | Info | Museexmatch.MusixmatchClient.getLyrics | Attempting to search for "The Black Eyed Peas" - "I Gotta Feeling" ("The E•N•D") in tracks
2025/02/17 20:41:21.103 | Debug | Museexmatch.MusixmatchClient.searchInTracks | artist="The Black Eyed Peas", title="I Gotta Feeling", album="The E•N•D"
2025/02/17 20:41:21.244 | Debug | MusicBeePlugin.Plugin.RetrieveLyrics | Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Collections.Generic.List<object>' does not contain a definition for 'track_list' Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Collections.Generic.List<object>' does not contain a definition for 'track_list'
   at CallSite.Target(Closure , CallSite , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at Museexmatch.MusixmatchClient.searchInTracks(String artist, String title, String album)
   at Museexmatch.MusixmatchClient.getLyrics(String artist, String title, String album)
   at MusicBeePlugin.Plugin.RetrieveLyrics(String source, String artist, String title, String album, Boolean preferSynced, String providerName)

I've tried fresh installs of both Beenius and Museexmatch, restarting my computer, and updating my Microsoft code suite in case it was somehow that. Still getting the same exception with any song I try

slonopot

  • Jr. Member
  • **
  • Posts: 94
Hi I'm getting a weird exception and I've exhausted my ideas for fixing it. Last night it was working fine and then I started getting this debug notice

Weird. Try opening this link for me please, you'll either see an error of some sort or a long output with "track_list" in the first line. If it's an error, it should be clear. Next, please remove the whole userToken line from museexmatch.conf and a comma in the previous line too, restart musicbee and try again. My bet is that it's either your internet or you were just banned for some reason, didn't happen to me.

FireAgentRuby

  • Newbie
  • *
  • Posts: 2
When I opened the link I got this message:

{"message":{"header":{"status_code":401,"execute_time":0.006537914276123,"hint":"captcha"},"body":[]}}

I also went ahead with clearing the token and received the same exception message as before. The only thing I can think of is around the same time mine stopped working my boyfriend used the auto-add missing lyrics button on his library of 3,000+ songs.... -_- I joked with him that he might've gotten our IP banned for DDOS-ing, but I didn't think it would actually happen....

slonopot

  • Jr. Member
  • **
  • Posts: 94
"status_code":401

401 means "unauthorized", now try the link from your phone with mobile internet first and home network second. If it works with mobile and 401-s with home network, reboot your router to (probably) get a fresh IP from your provider and that should do it.

"hint":"captcha"

Yeah, seems like a ban for me. Never seen it in the app itself, maybe some edge case when the API is abused. The IP change should fix it.

catalonia

  • Jr. Member
  • **
  • Posts: 64
when I enable the add-on it works but when I close Music bee and reopen it I get the following message and it is disabled again:

An error ocurred during Museexmatch startup:
'System.Dynamic.ExpandoObject' no contiene una definición para
'body'.

sveakul

  • Hero Member
  • *****
  • Posts: 3260
No problem at all here with Museexmatch--or any other source!

Did you download the new Metal Archives YML posted recently in the MBLR thread, AND the specially modified mb_LyricsReloaded.dll from slonopot??  Each requires the other to work properly--they DO, and cause no problems at all with the existing YMLs.  However, if you forgot to download the special patched DLL (https://gofile.io/d/tdQctk) maybe that is causing a problem.

slonopot

  • Jr. Member
  • **
  • Posts: 94
when I enable the add-on it works but when I close Music bee and reopen it I get the following message and it is disabled again:

An error ocurred during Museexmatch startup:
'System.Dynamic.ExpandoObject' no contiene una definición para
'body'.

Do the test from this message please and try restarting your router, it seems like something is preventing you from connecting to the service.

No problem at all here with Museexmatch--or any other source!

Did you download the new Metal Archives YML posted recently in the MBLR thread, AND the specially modified mb_LyricsReloaded.dll from slonopot??  Each requires the other to work properly--they DO, and cause no problems at all with the existing YMLs.  However, if you forgot to download the special patched DLL (https://gofile.io/d/tdQctk) maybe that is causing a problem.

Please don't mix it, these plugins are independent