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

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10272
You might want to take a look at using Bing for lyrics. When I have to do a manual search Bing is my first choice and usually rewards me with the correct lyrics. I have a web link set up for easy access.
Code
https://bing.com/search?q=$Replace($First(<Artist>),&,and)+$Split(<Title>,"(",1)+Lyrics
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

sveakul

  • Hero Member
  • *****
  • Posts: 3276
You might want to take a look at using Bing for lyrics. When I have to do a manual search Bing is my first choice and usually rewards me with the correct lyrics. I have a web link set up for easy access.
Code
https://bing.com/search?q=$Replace($First(<Artist>),&,and)+$Split(<Title>,"(",1)+Lyrics
Well guess what, I said what the hey and despite having a full LR and slonopot plugin setup, put phred's Bing search into my web links and gave it a shot on The Eden House - Let Me In, which NO plugin had given me a correct match on.  And BING-GO, it was that string that finally turned it up on the web at https://www.letras.com!  I was able to copy and paste the lyrics into the file via Kid3 (I prefer using that over the MB tagger).

But wait, you say!  Isn't "Letras de musica" already one of the YMLs in the Providers package for LR?  Yes, but designed to search for Brazilian lyrics.  I found that "Letras" is actually a parent source that offers more than one search language from a varying URL.  The LR YML uses http://letras.mus.br as a start point, different from the English version in phred's link.  This leads to:

1.  Mayinbongwe, could you please do a YML for https://www.letras.com as well, to use this source for English?  I can't believe that had a hit where LRCLIBee had none.
2.  Phred, thanks for showing basic is sometimes better and helping me find an elusive set of lyrics.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10272
2.  Phred, thanks for showing basic is sometimes better and helping me find an elusive set of lyrics.
You're welcome. I'm always happy to help share whatever I know about MB.

I still think it would be great if Bing lyrics search could be incorporated in to Mayinbongwe's plugin.
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

sveakul

  • Hero Member
  • *****
  • Posts: 3276
@wilte01:  phred is correct about where error reports should be posted but just to save Mayinbongwe some time:

What version of the LyricsReloaded plugin were you trying uninstall?  Older versions had issues, newer ones do not.  Also, a common cause for this is the user having more than one copy of the plugin installed elsewhere on his PC, due to incomplete uninstalls of MusicBee, "bobbled" installs of either one, etc.  The best way to see if the errors are from this category is fire up Windows File Explorer (or better, SwiftSearch64 or UltraSearch), be sure "search hidden files and folders" is included, and search the entire PC for instances of the file "mb_LyricsReloaded.dll" and the folder "mb_LyricsReloaded" (contains its settings.ini file, log, and any added YML providers).  Both of these can be in different places depending on the operating environment.  When found, deleting all of them will completely remove LyricsReloaded from your PC.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
The topic where the bug was reported: https://getmusicbee.com/forum/index.php?topic=41483.0

I can see how that error would pop up. I started playing around that SaveSettings() function when I brought the existing plugin setting over to the user interface.
Per Steven's notes on the API documentation, that function is called when the user clicks apply or save in the preferences window.

So if somebody's making changes to the plugin settings and concurrently trying to uninstall it, I can imagine the presence of an unhandled exception.
I will look into it. I have a little itch in the back of my mind that's prematurely assuming MB just may be calling that function in the event of an uninstall too. But we'll see.
Strength and Honour (2025)

wilte01

  • Newbie
  • *
  • Posts: 19
Windows 11 23H2, Build 22631.3880
MusicBee 3.6 8968
 
When uninstalling LyricsReloaded, the following error is thrown, though the plugin does appear to be uninstalled

21/07/2024 11:16:31 - 10.0.22631.0 - 3.6.8968.34349D - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at MusicBeePlugin.Plugin.SaveSettings()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at #=z_15aS7o0ScVSg9umQw==.#=zTmF6Ndb24l88()

21/07/2024 11:16:33 - 10.0.22631.0 - 3.6.8968.34349D - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at MusicBeePlugin.Plugin.SaveSettings()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at #=z_15aS7o0ScVSg9umQw==.#=zTmF6Ndb24l88()

sveakul

  • Hero Member
  • *****
  • Posts: 3276
@wilte01:  Looks like my earlier reply to your post ended up in the rubbish bin along with your original due to the latter being first posted to the wrong forum.

The errors are probably due to having more than one copy of the plugin installed on your system, due to past MB installs that were not uninstalled correctly, or having had different editions of MB using it at the same time, etc.  Early versions of the plugin itself had inherent issues with uninstalling that have since been fixed.

Close MusicBee, open Windows File Explorer, and do a complete PC search (including hidden files and folders) for the file "mb_LyricsReloaded.dll" and the folder "mb_LyricsReloaded" (which contains the Settings.ini file and YML "providers" sub-folder.  Delete all when found and restart MB.

Finally, do a new download and clean reinstall of LyricsReloaded from the MB website if you wish to use the plugin again (who wouldn't??).

sveakul

  • Hero Member
  • *****
  • Posts: 3276
Hi Mayibongwe, I was wondering if you had a time frame where we might see a new cleaned-up version of LR, with the broken MusixMatch and Deezer sources (and Google?) dropped from the DLL, the addition of a Letras source that searched English lyrics instead of Brazilian, and perhaps a Bing general searcher as suggested by phred.  Thanks.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
Hi guys, if I'm not super occupied this weekend, I will make some time for these fixes & additions.
There's been very few hours in the day of late.
Strength and Honour (2025)

wilte01

  • Newbie
  • *
  • Posts: 19
@wilte01:  Looks like my earlier reply to your post ended up in the rubbish bin along with your original due to the latter being first posted to the wrong forum.

The errors are probably due to having more than one copy of the plugin installed on your system, due to past MB installs that were not uninstalled correctly, or having had different editions of MB using it at the same time, etc.  Early versions of the plugin itself had inherent issues with uninstalling that have since been fixed.

Close MusicBee, open Windows File Explorer, and do a complete PC search (including hidden files and folders) for the file "mb_LyricsReloaded.dll" and the folder "mb_LyricsReloaded" (which contains the Settings.ini file and YML "providers" sub-folder.  Delete all when found and restart MB.

Finally, do a new download and clean reinstall of LyricsReloaded from the MB website if you wish to use the plugin again (who wouldn't??).

Many thanks @sveakul

slimkim

  • Newbie
  • *
  • Posts: 2
I've followed the process and everything is working fine but I'd prefer it downloading Synced .lrc only instead of .txt files.

Is there any settings in Musicbee or Lyrics Reloaded to do such. Thanks

sveakul

  • Hero Member
  • *****
  • Posts: 3276
Both the Museexmatch and LRCLIBee by slonopot, which use the same lyrics panel interface as LyricsReloaded, offer the abilty via a manual *.conf file to prefer synced lyrics or to ONLY return synced lyrics.  See their respective threads in the Plugins forum or Github for more details.

I do not want nor search for synced lyrics personally, so all I can tell you is that both of those plugins perform brilliantly when searching for static, "fixed" lyrics.

The LyricsReloaded plugin cannot be set to search for unsynced only, but if a *.yml file is supplied written to do that and the source it is written for supports synced, it will search same.

slimkim

  • Newbie
  • *
  • Posts: 2
Both the Museexmatch and LRCLIBee by slonopot, which use the same lyrics panel interface as LyricsReloaded, offer the abilty via a manual *.conf file to prefer synced lyrics or to ONLY return synced lyrics.  See their respective threads in the Plugins forum or Github for more details.

I do not want nor search for synced lyrics personally, so all I can tell you is that both of those plugins perform brilliantly when searching for static, "fixed" lyrics.

The LyricsReloaded plugin cannot be set to search for unsynced only, but if a *.yml file is supplied written to do that and the source it is written for supports synced, it will search same.

Yea, I have tried editing configuring Museexmatch and LRCLIBee in config to (true) which is the second to the last and the last line in config file to download synched lyrics only but yet it keep on downloading txt (unsynchronized) lyrics mostly and even wrong lyrics.

If there's another step on that, please put me through, I'll be very grateful... I wonder why there's no video tutorials on YouTube on all these.

Thanks a bunch and look forward to hearing from you soon

sveakul

  • Hero Member
  • *****
  • Posts: 3276
Yea, I have tried editing configuring Museexmatch and LRCLIBee in config to (true) which is the second to the last and the last line in config file to download synched lyrics only but yet it keep on downloading txt (unsynchronized) lyrics mostly and even wrong lyrics.
If there's another step on that, please put me through, I'll be very grateful... I wonder why there's no video tutorials on YouTube on all these.
None of this requires "YouTube tutorials".  The reason with "they keep on downloading txt lyrics mostly" is that very few sites even offer synced lyrics, or offer a handful vs. 85% fixed.   Also, it's impossible to write a searcher, even an API-based one, that is going to pull all the right lyrics all the time.  I've gotten wrong hits at some time or another with every one.  A lot of sites have a vested interest in keeping it difficult to pull lyrics from them with 3rd-party apps, so they can make people see their web page ads.

You could try Foobar2000 with the ESLyric plugin installed.  That one sort of specializes in synced lyrics, desktop display, etc.  It has several China-based sources  where synced is more common, and its own built-in editing tools for synced.  That said, lack of source volume in general affects it too.  BTW, it's brilliant as a static lyrics searcher with a large amount of sources, user settings, and regex filtering tools.

Gendji

  • Full Member
  • ***
  • Posts: 139
The only way i have found to download the actual .lrc file is with mini-lyrics.

https://getmusicbee.com/forum/index.php?topic=4207.0

It downloads the .lrc file to the Album folder.

I am not using it that often any-more because Museexmatch and LRCLIBee work great for synced lyrics with a backup of Lyricsify.yml from LyricsReloaded. I do not need them downloaded.

It's not 100% but that's almost always the case with Lyrics, synced or un-synced.