getmusicbee.com

MusicBee & Add-Ons => Customizations => Plugins => Topic started by: quick_wango on June 22, 2013, 11:22:50 PM

Title: LyricsReloaded
Post by: quick_wango on June 22, 2013, 11:22:50 PM
this plugin is now being maintained on the following thread:

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






---------------------------------------------------------------------------------------------------------------
So as I promised, here is the new lyrics plugin.

It's not an updated version of Steven's Lyrics plugin as originally intended, but a completely new plugin written by me from scratch.
The plugin uses small Yaml (http://de.wikipedia.org/wiki/YAML) configuration files to define how lyrics are loaded from a website. There are a couple of websites already build into the plugin (list below), but anyone could add new websites by creating such a configuration and placing it inside the proper folder:
<MusicBee's appdata folder>\mb_LyricsReloaded\providers

These configuration files are not yet documented, however you can look at the existing configurations at GitHub (https://github.com/quickwango/LyricsReloaded/tree/master/LyricsReloaded/providers).
In fact, the whole plugin is still very early in its development and things might go wrong, however I need people to test it as I can't test all the sites with all the songs. If something doesn't look like it should, please report this to my issue tracker linked below.

Original Lyrics plugin by Steven: http://getmusicbee.com/forum/index.php?topic=4751.0

Most important links:



Supported websites:



Planned websites that are not possible yet:



Synchronized lyrics are not yet support, however you can make sure your favorite website will be added by creating issues on the issue tracker site or by posting them here.


Websites that support synchronized lyrics:
Title: Re: LyricsReloaded
Post by: Havokdan on June 23, 2013, 12:02:26 AM
Thanks You Very Much, i hope great providers for .lrc files in future.
Title: Re: LyricsReloaded
Post by: Iasc on June 23, 2013, 12:39:49 AM
thanks for this , greatly appreciated.
Title: Re: LyricsReloaded
Post by: Steven on June 23, 2013, 08:17:10 AM
these are built directly into MB as they have official API's, so no need to do them:
http://www.lyrdb.com/
http://www.chartlyrics.com/
http://www.lololyrics.com/

of the original providers that were supported in the old plugin only http://www.lrc123.com/ had synchronised lyrics.
Title: Re: LyricsReloaded
Post by: quick_wango on June 23, 2013, 12:46:30 PM
Yep, I know that. However I still want to provide a way to retrieve lyrics from proper APIs.

Yep, lrc123.com supports synchronized lyrics. They also like to ban IPs that request too many lyrics.
I'll add throttling to the providers to prevent these bans.
Title: Re: LyricsReloaded
Post by: VX on June 23, 2013, 07:55:43 PM
THANK YOU SO MUCH FOR ADDING tekstowo.pl and teksty.org !!!  :o
You implemented the request so fast! This plugin would be definitely one of the most popular ones.
Congratulations  :)

However, I've just updated MB to the latest version available 2.1 (Pre2) and every time I'm searching for Lyrics it shows 'No lyrics found'.
I've checked quite a few popular Polish songs but the result is still the same - 'No lyrics found'.

I searched for the lyrics manually on tekstowo.pl and teksty.org (both services are enabled in MB/Preferences/Tags (2) as #3 and #4 lyrics source) and I can find all the lyrics there. Can someone else confirm this issue  ???

For example, 'Ewa Farna - EWAkuacja', 'Jacek Kaczmarski - Lekcja historii klasycznej', 'Andrzej Rybinski - Nie licze godzin i lat' to name a few...

If I could help somehow, just let me know  :) I can run a debug or beta version if needed. Thanks  :)
Title: Re: LyricsReloaded
Post by: quick_wango on June 23, 2013, 07:58:55 PM
You can! There is a log at <MusicBee's appdata folder>\mb_LyricsReloaded\mb_LyricsReloaded.log

Send this to me and I can check what might go wrong
Title: Re: LyricsReloaded
Post by: VX on June 23, 2013, 08:03:42 PM
The log sent! Check your PMs on the forum :)
Title: Re: LyricsReloaded
Post by: quick_wango on June 23, 2013, 08:28:37 PM
It looks like the plugin wasn't invoked at all, because the plugin logs the lyrics urls when an request comes in.

I tested all sites I added on MusicBee 2.1 pre1
Title: Re: LyricsReloaded
Post by: VX on June 23, 2013, 08:38:45 PM
I have no an older MB version to test. FWIW, the folder AppData\Roaming\MusicBee\mb_LyricsReloaded\providers was empty, so I copied some *.yml files from the .zip package on the plugin website. It hasn't helped: the only difference in the log file is:

Code
Provider loaded: PROVIDER NAME HERE
23-06-2013 09:25:16 [INFO] The provider %s does already exist and will be replaced.

Is there anything I could do to help  ???

Title: Re: LyricsReloaded
Post by: quick_wango on June 23, 2013, 09:07:06 PM
The default websites (providers) are loaded from the dll itself. The log shows that it loaded all the providers from the dll. The log entry you mentioned was, because you placed the exact some providers in the provider folder which got loaded as well and replaced the existing providers
Title: Re: LyricsReloaded
Post by: quick_wango on June 23, 2013, 09:10:43 PM
https://webchat.esper.net/?channels=musicbee&nick=

You can join the MusicBee IRC channel I created with the link above.
Title: Re: LyricsReloaded
Post by: blackknight on June 24, 2013, 07:50:29 AM
Hi Steven,
Can you please include the site http://www.hindilyrics.org/, for lyrics of  bollywood songs,....  ???
Title: Re: LyricsReloaded
Post by: quick_wango on June 24, 2013, 07:59:06 AM
This is not Steven's plugin, however I'll include it with the next release.
I won't release new providers right now, because I just started to restructure the plugin.

Would you mind creating an issue at http://bugs.engine.cubeisland.de/browse/LYR @blackknight ?
Title: Re: LyricsReloaded
Post by: blackknight on June 24, 2013, 08:32:33 AM
i'll go ahead and create it :)
Title: Re: LyricsReloaded
Post by: VX on June 24, 2013, 07:54:11 PM
I tested all sites I added on MusicBee 2.1 pre1

Perhaps someone else could test if the plugin works with MusicBee 2.1 pre1  ??? I have removed the pre1 build so I can't help with testing.
Title: Re: LyricsReloaded
Post by: quick_wango on June 24, 2013, 10:35:33 PM
Just a quick update on the progress of 1.1:

I almost completely rewrote the plugin and it's now in the state, where is compiles, but doesn't work yet.
You can see version 1.0 as some kind of teaser, 1.1 will be the first proper release.
Title: Re: LyricsReloaded
Post by: Bee-liever on June 25, 2013, 02:07:59 AM
thanks for oldielyrics.com
Title: Re: LyricsReloaded
Post by: salome on June 25, 2013, 10:53:44 AM
Wow, thanks for planning to add http://www.jpopasia.com/ ! I really appreciate it ! ;D
Title: Re: LyricsReloaded
Post by: quick_wango on June 25, 2013, 02:25:06 PM
Hi there,

Downloaded the plug in. Installed it in the plugin dir, but after restarting MB the program says it cannot load the plug in. I have the latest MB version. What went wrong?

Could you be more specific about the error?
Title: Re: LyricsReloaded
Post by: topol-m on June 25, 2013, 03:34:46 PM
Here is .yml file for site "tekstovipjesama.com" with data base ex-Yu speaking language songs.

http://www.sendspace.com/file/3ehnjk

When reading character " ' " it returns " &#8217; ". Except that, everything seems to works fine.

Is there a way to change priority of sites? I have significant lagg while plugin go trough all sites, and find nothing until he came to very last site (in my case: "tekstovipjesama.com") and find text.
Title: Re: LyricsReloaded
Post by: ron505 on June 25, 2013, 04:43:18 PM
Hi there,

I've copied the file into the plugin directory.
When i open MB / Preferences / plugins i see the notifications that the plug in is on the machine, but when i want to enable it, it says the file has been blocked. Then i deinstalled it and tried it again, same result.
Title: Re: LyricsReloaded
Post by: quick_wango on June 25, 2013, 05:33:36 PM
Here is .yml file for site "tekstovipjesama.com" with data base ex-Yu speaking language songs.

http://www.sendspace.com/file/3ehnjk

When reading character " ' " it returns " ’ ". Except that, everything seems to works fine.

Is there a way to change priority of sites? I have significant lagg while plugin go trough all sites, and find nothing until he came to very last site (in my case: "tekstovipjesama.com") and find text.

have you tried adding the entity_decode filter? That might resolve the problem.
May I add the configuration to the default configuration?
If not, you will have to update for the new version of the plugin probably coming during the next week.
Title: Re: LyricsReloaded
Post by: topol-m on June 25, 2013, 06:43:13 PM
Here is .yml file for site "tekstovipjesama.com" with data base ex-Yu speaking language songs.

http://www.sendspace.com/file/3ehnjk

When reading character " ' " it returns " ’ ". Except that, everything seems to works fine.

Is there a way to change priority of sites? I have significant lagg while plugin go trough all sites, and find nothing until he came to very last site (in my case: "tekstovipjesama.com") and find text.

have you tried adding the entity_decode filter? That might resolve the problem.
May I add the configuration to the default configuration?
If not, you will have to update for the new version of the plugin probably coming during the next week.


Thanks.
Filter "entity_decode" fix it.

Here is link on new ".yml" file
http://www.sendspace.com/file/q1lplp

I will be glad to see my file in next release.

I just found that there is a way to change site priority.
So if someone looking for that.

MusicBee/Edit/Preferences/Tags (2)/
"auto-tagging" section, and then
Button with "..." on it at the end of lyrics text field.
After that just sort sites.
Title: Re: LyricsReloaded
Post by: boroda on June 25, 2013, 08:41:45 PM
I just found that there is a way to change site priority.
So if someone looking for that.

MusicBee/Edit/Preferences/Tags (2)/
"auto-tagging" section, and then
Button with "..." on it at the end of lyrics text field.
After that just sort sites.
Hmm, I'm not sure if this somehow relates to LyricsReloaded plugin.
Title: Re: LyricsReloaded
Post by: topol-m on June 25, 2013, 09:01:35 PM
I just found that there is a way to change site priority.
So if someone looking for that.

MusicBee/Edit/Preferences/Tags (2)/
"auto-tagging" section, and then
Button with "..." on it at the end of lyrics text field.
After that just sort sites.
Hmm, I'm not sure if this somehow relates to LyricsReloaded plugin.

It is.
It show me "tekstovipjesama.com" in list. And that site for which I created file and put in "C:\Users\UserName\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers" .
 
And list also contain all of those:
    http://rapgenius.com/
    http://www.plyrics.com/
    http://www.urbanlyrics.com/
    http://www.oldielyrics.com/
    http://www.tekstowo.pl/
    http://teksty.org/
    http://letras.mus.br/
    http://www.metrolyrics.com
    http://www.songlyrics.com/

plus few more.
Title: Re: LyricsReloaded
Post by: boroda on June 25, 2013, 10:16:59 PM
Great if this is so!
Title: Re: LyricsReloaded
Post by: topol-m on June 25, 2013, 10:40:50 PM
One more ".yml" file.

http://www.sendspace.com/file/i2ss2i

Site is: "http://cuspajz.com/"
Title: Re: LyricsReloaded
Post by: quick_wango on June 25, 2013, 10:50:56 PM
Awesome! I should make a small website to distribute the community made providers
Title: Re: LyricsReloaded
Post by: Steven on June 26, 2013, 07:05:06 PM
to save hijacking this topic i have moved the plugin loading issue to:
http://getmusicbee.com/forum/index.php?topic=10029.0
Title: Re: LyricsReloaded
Post by: topol-m on June 27, 2013, 10:05:53 PM
I looked at your code to find how filters works. Then I revised ".yml" files for "tekstovipjesama.com" and "cuspajz.com". I also add new ".yml" for "pinkradio.com" new files are in ".7z" file on the link http://www.sendspace.com/file/wvj4ks .


 If site tekstovipjesama.com could not find song with specific title and artist, it will try to find song with same title no matter artist name. So, if you, for example try to find song "Volim te" from artist "Haris Dzinovic" (which is not in site data base) with link "http://www.tekstovipjesama.com/haris-dzinovic/volim-te" site will redirect you to "http://www.tekstovipjesama.com/ceca/volim-te", the song with same title form different artist (in this case "Ceca"). 

Site pinkradio.com probably has bigger data base then two others. However, some idiots make it. Its links has only song title. So song "Tamara" from artist "Magazin" has link "http://pinkradio.com/naslov/tamara" and different song "Tamara" from "Bajaga" has same link. That link will always open song from "Bajaga" probably because "B" is in front of "M". Even if you click on in-site link where it was written "Tamara" from "Magazin" site will open page with song "Tamara" from "Bajaga".

Site cuspajz.com works fine.

If somebody wants to use all of this ".yml" files I suggested that he use this priority order:
cuspajz.com
tekstovipjesama.com
pinkradio.com
Title: Re: LyricsReloaded
Post by: quick_wango on June 27, 2013, 10:27:31 PM
The new version will have parameters for filters, so name and uscore will become stripdown with _ or - as the first parameter.
I'll document the filters with the new version as well.
The problem with pinkradio.com could be solved with the new loader I'll implement soon. With that loader you can use the search of the site to find the lyrics.
Title: Re: LyricsReloaded
Post by: ron505 on June 28, 2013, 01:32:22 PM
Plugin works fine nw, but at some results i get the following message :


Unfortunately, we don't have the lyrics for Eperdu by Sarah Brightman yet.
          Check back soon, as we are always working to find the latest lyrics and adding new songs every day.Click here to submit these lyrics

The song says now it has lyrics, but that isn't the case.
Title: Re: LyricsReloaded
Post by: quick_wango on June 28, 2013, 02:26:09 PM
Seems like we need some kind of validation
Title: Status update for 1.1
Post by: quick_wango on June 29, 2013, 04:47:13 PM
What I did yesterday:

To come:
Title: Re: LyricsReloaded
Post by: quick_wango on June 29, 2013, 08:44:23 PM
So here is the documentation:

Filters: https://github.com/quickwango/LyricsReloaded/blob/master/LyricsReloaded/Filter/README.md
Validators: https://github.com/quickwango/LyricsReloaded/blob/master/LyricsReloaded/Validation/README.md
Title: Re: LyricsReloaded
Post by: boroda on June 29, 2013, 10:32:22 PM
Here is your plugin wiki template page (http://musicbee.wikia.com/wiki/Lyrics_Plugins), see 1st plugin on this page. Please fill it with actual plugin info and maintain wiki page up to date if possible.
Title: Re: LyricsReloaded
Post by: quick_wango on June 29, 2013, 10:40:59 PM
Why didn't you include the DL-links ? The plugin is, quite obvious, already released
Title: Re: LyricsReloaded
Post by: quick_wango on June 29, 2013, 10:50:01 PM
maintain wiki page up to date if possible.
I'm not going to update this thread and the wiki
Title: Re: LyricsReloaded
Post by: boroda on June 30, 2013, 11:08:49 AM
I'm not going to update this thread and the wiki
I think wiki is preferable, but its of course your decision.
I've just placed wiki link (stub page) in 1st post of my plugin topics and is going only to post small update notifications only on forum.
Title: Re: LyricsReloaded
Post by: boroda on June 30, 2013, 11:09:53 AM
Why didn't you include the DL-links ? The plugin is, quite obvious, already released
I thought that 1st posted release was not working yet. Sorry.
Title: Re: LyricsReloaded
Post by: quick_wango on July 03, 2013, 12:54:07 PM
ETA for 1.1: this weekend. If some of you are interested in testing development builds during this week, please contact me via private message.
Title: Re: LyricsReloaded
Post by: quick_wango on July 07, 2013, 04:08:05 AM
I just finished implementing automated tests for all supported websites to ensure the providers actually work.
I also greatly improved the speed of the web requests.

If nothing bad happens, I'll release 1.1 today
Title: Re: LyricsReloaded
Post by: quick_wango on July 08, 2013, 07:20:32 PM
New version released!

Redownload from the first thread!
Title: Re: LyricsReloaded
Post by: quick_wango on July 08, 2013, 07:30:46 PM
Release notes: https://github.com/quickwango/LyricsReloaded/releases/1.1
Title: Re: LyricsReloaded
Post by: VX on July 08, 2013, 08:42:09 PM
New version released!

Redownload from the first thread!

I just want to THANK YOU for the release !!!  :)
The plugin works great for retrieving lyrics for majority songs I tested. I really appreciate implementing tekstowo.pl and teksty.org for Polish songs. Thank you very much 8)

One minor issue/feature request:
When you right-click onto Lyrics tab to see the lyrics source you can see:
Quote
Lyrics Source: MUSICBEE PLUGIN
whereas for lyrics providers supported out of the box with MusicBee an exact name of the provider is displayed (eg. Lyrics Source: LYRDB).

Is it possible for the plugin to show the lyrics source for the particular track in the same way as MusicBee does ???
Title: Re: LyricsReloaded
Post by: Steven on July 08, 2013, 09:02:09 PM
One minor issue/feature request:
When you right-click onto Lyrics tab to see the lyrics source you can see:
Quote
Lyrics Source: MUSICBEE PLUGIN
whereas for lyrics providers supported out of the box with MusicBee an exact name of the provider is displayed (eg. Lyrics Source: LYRDB).

Is it possible for the plugin to show the lyrics source for the particular track in the same way as MusicBee does ???
that is something i would need change in the musicbee application itself. Could you add this as a wishlist request if its important to you
Title: Re: LyricsReloaded
Post by: VX on July 08, 2013, 09:42:22 PM
One minor issue/feature request:
When you right-click onto Lyrics tab to see the lyrics source you can see:
Quote
Lyrics Source: MUSICBEE PLUGIN
whereas for lyrics providers supported out of the box with MusicBee an exact name of the provider is displayed (eg. Lyrics Source: LYRDB).

Is it possible for the plugin to show the lyrics source for the particular track in the same way as MusicBee does ???
that is something i would need change in the musicbee application itself. Could you add this as a wishlist request if its important to you

Done! Thanks  :)

http://getmusicbee.com/forum/index.php?topic=10182.0
Title: Re: LyricsReloaded
Post by: MeekLogic on July 09, 2013, 02:03:17 AM
Keep getting an error from the new version

MusicBee v2.2.4937.31893 (Win6.1), 8 Jul 2013 18:02:

System.Threading.ThreadInterruptedException: Thread was interrupted from a waiting state.
   at System.Threading.Monitor.ObjWait(Boolean exitContext, Int32 millisecondsTimeout, Object obj)
   at System.Threading.Monitor.Wait(Object obj, Int32 millisecondsTimeout, Boolean exitContext)
   at System.Threading.SemaphoreSlim.WaitUntilCountOrTimeout(Int32 millisecondsTimeout, UInt32 startTime, CancellationToken cancellationToken)
   at System.Threading.SemaphoreSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Collections.Concurrent.BlockingCollection`1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)
   at System.Collections.Concurrent.BlockingCollection`1.TryTake(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Collections.Concurrent.BlockingCollection`1.Take()
   at CubeIsland.LyricsReloaded.Logger.write()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Title: Re: LyricsReloaded
Post by: yakamoneye on July 09, 2013, 02:06:12 AM
thanks for this fabulous plugin , but can you add a « french » site in the future version
Thanks 

excuse for my poor english
Title: Re: LyricsReloaded
Post by: blackknight on July 09, 2013, 04:52:26 AM
Working Perfectly... :D :D :D :D ;D
Title: Re: LyricsReloaded
Post by: Bee-liever on July 13, 2013, 01:32:51 PM
Keep getting an error from the new version

as reported here (http://getmusicbee.com/forum/index.php?topic=10215.0), having the same error generated, and slowing down MB closing times.

plugin can't be disabled via MB and .dll has to be removed from plugins folder

Code
13/07/2013 10:15:33 PM - 5.1.2600.196608 - 2.2.4935.12590 - System.Threading.ThreadInterruptedException: Thread was interrupted from a waiting state.
   at System.Threading.Monitor.ObjWait(Boolean exitContext, Int32 millisecondsTimeout, Object obj)
   at System.Threading.Monitor.Wait(Object obj, Int32 millisecondsTimeout, Boolean exitContext)
   at System.Threading.SemaphoreSlim.WaitUntilCountOrTimeout(Int32 millisecondsTimeout, Int64 startTimeTicks, CancellationToken cancellationToken)
   at System.Threading.SemaphoreSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Collections.Concurrent.BlockingCollection`1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)
   at System.Collections.Concurrent.BlockingCollection`1.TryTake(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Collections.Concurrent.BlockingCollection`1.Take()
   at CubeIsland.LyricsReloaded.Logger.write()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Title: Re: LyricsReloaded
Post by: quick_wango on July 14, 2013, 02:52:03 AM
Sorry guys, seems like it wasn't a good idea to add the experimental logger with this release with basicly no testing. I'll try to rollback the change and release an update.

PS.: somehow notifications for this thread stopped working...
Title: Re: LyricsReloaded
Post by: quick_wango on July 14, 2013, 02:58:06 AM
oh and another thing @Bee-liever @logicPwn: it might be easier to just post the errors here, but it's much more effective if you create issues on my bug tracker: http://bugs.engine.cubeisland.de/browse/LYR

There I'll definitely get a notification and you'll get feedback when I work on the issue.
Title: Re: LyricsReloaded
Post by: Bee-liever on July 14, 2013, 04:34:10 AM
it might be easier to just post the errors here, but it's much more effective if you create issues on my bug tracker

yes, definitely more effective
but then there would be no record of problems here on MB forum, which would probably be the first point-of-call when anyone is looking for information on a MB plugin

maybe posting in both places will be how I handle this in future
Title: Re: LyricsReloaded
Post by: quick_wango on July 15, 2013, 05:15:16 PM
Sadly I can't fix the problem myself for another 2 weeks. Is there some developer around who has Visual Studio installed and knows how to use git? (I could explain the git part if necessary)
Title: Re: LyricsReloaded
Post by: MeekLogic on July 19, 2013, 06:44:52 AM
Yes, what needs to be fixed?
Title: Re: LyricsReloaded
Post by: quick_wango on July 19, 2013, 12:58:56 PM
Just revert the commit for the experimental logger and increase the bug fix version by one. I can do that, but I can't build the project, as I'm not at home for over a week.
Title: Re: LyricsReloaded
Post by: MeekLogic on July 19, 2013, 01:02:34 PM
I can do that.
Title: Re: LyricsReloaded
Post by: quick_wango on July 19, 2013, 01:19:33 PM
Cool, I'll write something, when I prepared the update
Title: Re: LyricsReloaded
Post by: quick_wango on July 19, 2013, 01:53:21 PM
Done, the master branch has the logger reverted and the new version 1.1.1. Just clone/dl the code, build it, run the tests and send me the DLL via private message.

Thank you in advance!
Title: Re: LyricsReloaded
Post by: quick_wango on July 21, 2013, 04:33:01 PM
This is not an official update, so you won't get notified about this release.
The issue with the logger isn't critical, so I recommand to wait until I can release an official update. For those of you who want this bug to be fixed now, download the dll below and replace your current LyricsReloaded plugin with it.
Be aware: I did not check the binary for malicious code, so use it at your own risk.

So here is the fixed version compiled by logicPwn:

http://dl.code-infection.de/counted/mb_LyricsReloaded-logicPwn.dll
Title: Re: LyricsReloaded
Post by: MeekLogic on July 22, 2013, 12:00:28 AM
This is not an official update, so you won't get notified about this release.
The issue with the logger isn't critical, so I recommand to wait until I can release an official update. For those of you who want this bug to be fixed now, download the dll below and replace your current LyricsReloaded plugin with it.
Be aware: I did not check the binary for malicious code, so use it at your own risk.

So here is the fixed version compiled by logicPwn:

http://dl.code-infection.de/counted/mb_LyricsReloaded-logicPwn.dll

Virustotal - https://www.virustotal.com/en/file/db966c469c82353484be1835c5ad6df0561694942e8c277604c6a76a021c84d5/analysis/1374447526/
Title: Re: LyricsReloaded
Post by: hamma on July 22, 2013, 08:14:45 AM
No problems with that dll when scanned with local Eset virus scanner.
Title: Re: LyricsReloaded
Post by: quick_wango on July 30, 2013, 05:35:57 PM
I just released the official update as 1.1.1.1, so everyone should get a update notification
Title: Re: LyricsReloaded
Post by: eLr0n on August 11, 2013, 01:46:21 AM
Hey great plugin,

would be cool to add http://www.magistrix.de

thx
Title: Re: LyricsReloaded
Post by: quick_wango on August 11, 2013, 01:58:01 AM
Thank you for the suggestion, however that provider is not yet possible. I added it to the planned websites though.
Title: Re: LyricsReloaded
Post by: blackknight on August 11, 2013, 08:39:07 AM
would love to have www.lyricsbogie.com as one of the lyrics tagging site
Title: Re: LyricsReloaded
Post by: quick_wango on August 11, 2013, 10:16:30 AM
The same here: not possible yet, but I added it to the planned sites
Title: Re: LyricsReloaded
Post by: Maleko12 on August 15, 2013, 07:29:39 PM
+1! This is the biggest flaw of looking up lyrics in MB. I listen to a lot of Hip-Hop/R&B, and it usually has at least one feature (it's part of the track title). Like mrad beautifully mentioned, you shouldn't have to remove part of the official title just to receive lyrics. Of course, this has been a problem since lyrics have been implemented years ago.
Title: Re: LyricsReloaded
Post by: Pingaware on August 15, 2013, 09:01:51 PM
I have no objection to this proposal, but I'd like to point out that in general the featured artists aren't so much part of the title as something to go in the artist tag, leaving album artist constant for the album
Title: Re: LyricsReloaded
Post by: quick_wango on August 15, 2013, 10:50:23 PM
I have no objection to this proposal, but I'd like to point out that in general the featured artists aren't so much part of the title as something to go in the artist tag, leaving album artist constant for the album
+1

But I actually thought about that a while back already, but it wasn't a priority. Filtering the title with regexes is already possible if you add it as a filter to specific provider configurations. I could however add a configuration window that allows you to add global pre filters. Would you mind creating a ticket in my bug tracker?
Title: Re: LyricsReloaded
Post by: mrad on August 15, 2013, 11:27:15 PM
in general the featured artists aren't so much part of the title as something to go in the artist tag, leaving album artist constant for the album
I disagree on two counts...
1) When you rename a complete album with the artist as folder name e.g. ..\%artist%\%year% %album%\%track% %track title%
...  having NON consistent %artist% fields that carry featured artist names really screws thing up.
2) With hip-hop and r&b the featured artist usually come with the title.
3) Songname featuring Artist is more natural than Artist featuring Artist (personal preference)

I've thought to use %album artist% as well as %artist%, but this deviates away from idtags v1 so I've resisted and I don't see car stereos and other devices supporting these other tags in a hurry either.

Anyway, this is all a diversion ;) back to the wish ...
-------------------------------------------------------------------------------------------------------------------------------------------------------
Filtering the title with regexes is already possible if you add it as a filter to specific provider configurations
Erm, where might that be? (documentation?)

In regards to setting up another login on another site, meh! Here is central enough for me :p
-------------------------------------------------------------------------------------------------------------------------------------------------------
Title: Re: LyricsReloaded
Post by: Pingaware on August 16, 2013, 12:22:05 AM
3) Songname featuring Artist is more natural than Artist featuring Artist (personal preference)

Possibly is more natural. I've made the transition to your non-preference simply because it suits media players significantly better.

1) When you rename a complete album with the artist as folder name e.g. ..\%artist%\%year% %album%\%track% %track title%
...  having NON consistent %artist% fields that carry featured artist names really screws thing up.

I've thought about using %album artist% as well as %artist%, but this deviates away from idtags v1 so I've resisted and I don't see car stereos and other devices supporting these other tags in a hurry either.

I feel that it's a bit short sighted to say that as I am sure that they will catch up with the new standards in the near(ish) future - although as legacy support, I can understand your system.

But anyway, as you said, this is a diversion and I'm splitting hairs over a very personal preference.
Title: Re: LyricsReloaded
Post by: quick_wango on August 16, 2013, 05:58:06 AM
If you don't create a ticket, I'll handle it with lowest priority, because I usually check the forum in the end.
Title: Re: LyricsReloaded
Post by: Maleko12 on August 16, 2013, 09:21:12 AM
Made a ticket for this issue. Hopefully that will get the ball rolling a bit quicker :)
Title: Re: LyricsReloaded
Post by: quick_wango on August 16, 2013, 09:29:04 AM
which I can't use...
Title: Re: LyricsReloaded
Post by: quick_wango on August 16, 2013, 09:57:22 AM
Explain that in more detail
Title: Re: LyricsReloaded
Post by: quick_wango on August 16, 2013, 10:48:06 AM
I've seen that on one of the supported pages, but I don't know which one it was.
Title: Re: LyricsReloaded
Post by: quick_wango on August 27, 2013, 01:14:07 PM
I've basicly no time at the moment, because I started a fulltime job and I'm working on 2 other quite important projects.
Title: Re: LyricsReloaded
Post by: quick_wango on August 31, 2013, 05:17:58 PM
Thank you! That was exactly what I intended.
I won't be able to do that anytime soon.
Title: Re: LyricsReloaded
Post by: dylstew on January 28, 2014, 01:18:50 PM
I know this thread is old, but...Will DarkLyrics ever get supported?
Plyrics and AZlyrics are supported, but Darklyrics is not there yet.

also, it can't find a lot of songs that are on plyrics even though it's on top of my priority list and the song name is exactly the same.
it even pops up as the first when I right click and do a google search :/.
Title: Re: LyricsReloaded
Post by: quick_wango on March 15, 2014, 10:31:13 PM
Darklyrics requires a different approach to the lyrics retrival, that's the reason why it's not implemented yet.

And about your plyrics issue: Please provide a list of songs (title, interpret, album) so I can analyse this.
The LyricsReloaded plugin also contains a commandline tool to lookup songs manually.
Title: Re: LyricsReloaded
Post by: RealPetChicken on April 01, 2014, 10:55:42 PM
I must be stupid but i am new to MusicBee, and i have installed this plugin but i don't know how to use it. In MediaMonkey i would click a button and it would search for the lyrics and tag my mp3 files. In MusicBee, i only know how to right click on my files and tag the missing lyrics files. It doesn't find all of them.
Title: Re: LyricsReloaded
Post by: psychoadept on April 01, 2014, 11:05:07 PM
First, do a custom search for "Lyrics? ... has no value"  This will show only the tracks without lyrics in the main panel.  Then select the tracks and right click > Auto-Tag by Track > Update Missing Lyrics.  Then hit Proceed and wait for it to process them.  (You might want to test on a small quantity at first.)
Title: Re: LyricsReloaded
Post by: RealPetChicken on April 02, 2014, 05:26:41 AM
First, do a custom search for "Lyrics? ... has a value"  This will show only the tracks without lyrics in the main panel.  Then select the tracks and right click > Auto-Tag by Track > Update Missing Lyrics.  Then hit Proceed and wait for it to process them.  (You might want to test on a small quantity at first.)

I have done that, thanks  ;D is there anyway to tell which database is it accessing when searching for the lyrics other than through the options.
Title: Re: LyricsReloaded
Post by: psychoadept on April 02, 2014, 06:06:56 AM
Whoops, I put "has a value" when I meant "has no value"... I hope you figured out what I was going for.

I don't know the answer to your question, though, sorry.
Title: Re: LyricsReloaded
Post by: redwing on April 02, 2014, 07:58:19 AM
It's the same as Steven's Lyrics plugin in that it doesn't show the name of the provider unlike MB's native lyrics providers that displays when you right-click on lyrics panel.

Would be great if MB could display the specific lyrics provider name when fetched from one of the sources with this plugin, instead of just displaying "MusicBee Plugin".
Title: Re: LyricsReloaded
Post by: RealPetChicken on April 02, 2014, 09:57:53 PM
It's the same as Steven's Lyrics plugin in that it doesn't show the name of the provider unlike MB's native lyrics providers that displays when you right-click on lyrics panel.

Would be great if MB could display the specific lyrics provider name when fetched from one of the sources with this plugin, instead of just displaying "MusicBee Plugin".

I am trying to understand how to do it, but still it seems i am not doing it correctly. Let me start from the begining, when i installed MusicBee it came with its own lyric fetcher correct? then i downloaded this one called LyricsReloaded, i have enabled through settings, but i don't know how to use it. I right click on a song, and go to AutoTag by Track and Update Missing Lyrics. Or do i have to do something else to use the LyricsReloaded plugin. Or is LyricsReloaded plugin embedded in the default lyrics fetcher provided by MusicBee?

My Settings
(http://i62.tinypic.com/6gcyuf.jpg)

and my Search
(http://i58.tinypic.com/9krn1d.jpg)
Title: Re: LyricsReloaded
Post by: RealPetChicken on April 03, 2014, 02:12:43 AM
Preferences > Tags (2) > Auto-Tagging > Lyrics. Self-evidently.

Yea, i went there and enabled the websites to search the lyrics on, but when trying to look for lyrics i do it like i did originally: I right click on a song, and go to AutoTag by Track and Update Missing Lyrics

Title: Re: LyricsReloaded
Post by: redwing on April 03, 2014, 02:29:48 AM
It just adds more providers. Native fetcher + Steven's Lyrics plugin + Lyrics Reloaded plugin ...
Title: Re: LyricsReloaded
Post by: RealPetChicken on April 04, 2014, 02:51:15 AM
It just adds more providers. Native fetcher + Steven's Lyrics plugin + Lyrics Reloaded plugin ...

That is what i wanted to know, thanks man, sorry for the incompetence.
Title: Re: LyricsReloaded
Post by: redwing on April 04, 2014, 04:50:28 AM
No problem. Functionality of lyrics fetcher is just the same regardless of installing those plugins.
Instead of using "Update Missing Lyrics" command, you can also add lyrics using right-click menu of lyrics panel. With this, you can redo lyrics search using multiple providers until you find the right one.
Title: Re: LyricsReloaded
Post by: dylstew on April 12, 2014, 03:06:20 PM
This guy made it possible to automaticly tag an album in the unsynced lyrics tag with Darklyrics: http://forums.mp3tag.de/index.php?showtopic=2184&pid=39887&mode=threaded&start=, I tried it once with Slayer and it worked.
Maybe the creator of that MP3tag plugin knows more about how Darklyrics works.
Title: Re: LyricsReloaded
Post by: Mr. Trev on April 24, 2014, 09:14:49 PM
Hi guys. Been trying to dl for the last couple of days, but the link is down. Does anybody have a mirror link, or possibly do a re-up?
Title: Re: LyricsReloaded
Post by: nogoya2002 on April 26, 2014, 02:43:04 PM
Please upload lyricsreloaded!! thanks very much!!!
Title: Re: LyricsReloaded
Post by: redwing on April 26, 2014, 03:02:56 PM
I don't know why it's not available.  Anyway I'm gonna host the file temporarily until the author re-ups.

[link removed]
Title: Re: LyricsReloaded
Post by: Mr. Trev on April 26, 2014, 08:16:13 PM
Many thanks.
Title: Re: LyricsReloaded
Post by: nogoya2002 on April 28, 2014, 09:03:47 PM
thanks thanks thanks
Title: Re: LyricsReloaded
Post by: franco on April 29, 2014, 06:05:46 PM
Hello to all!!
I recently installed the plugin "lyricsReloaded."
It works very well!
I need to download the lyrics of Argentine tango.
Manually, with the google search engine, I find all the lyrics, but I would like the plugin did what.
The websites that I query most frequently are as follows ..
www.letras.mus.br
www.cmtv.com.ar
www.angolotesti.it
There are many other websites.
I ask if it is possible to implement in the plugin "lyricsReloaded!" some web site among the ones that I have indicated.
Thanks in advance.

Franco
Title: Re: LyricsReloaded
Post by: AvikB on June 15, 2014, 06:54:04 PM
http://www.viewlyrics.com/

this website provide great synced lyrics, also minilyrics use this site for fetching lyrics. i think it would be obvious to add this site.
i would love to see this site as a option. ;D
Title: Re: LyricsReloaded
Post by: quick_wango on June 26, 2014, 02:48:20 AM
Oops, I just found out that the download page is down since my server migration. I'll put it up again ASAP!
Title: Re: LyricsReloaded
Post by: quick_wango on June 27, 2014, 06:56:38 PM
Up again.
Title: Re: LyricsReloaded
Post by: redwing on July 01, 2014, 12:22:48 AM
@quick_wango or Mods:

I won't host this file any more, so please edit first post and remove the temporary mediafire link.
Title: Re: LyricsReloaded
Post by: quick_wango on July 01, 2014, 12:34:26 AM
@redwing: I fixed all links.

@whoever changed the links: Why the hell have I not been notified about the links not working? Instead the links where replaced by a random mediafire link without me knowing about it. That is definitly not the way this should be done. I'm kinda disappointed with the moderation.
Title: Re: LyricsReloaded
Post by: psychoadept on July 01, 2014, 12:41:32 AM
Do you not get notifications from this thread?  It was stated that the links weren't working, and two months passed without any response from you.  I expect whoever did it assumed that you would have seen the posts yourself.
Title: Re: LyricsReloaded
Post by: quick_wango on July 01, 2014, 08:53:32 AM
I scrolled through the posts yesterday, but didn't see anyone stating that the link has been replaced at first glance. I guess those notification mails must have been dropped by getmusicbee.com's Mailserver during the short downtime of my Mailserver. Someone should check those deferring settings, none of my other mails got lost.
Title: Re: LyricsReloaded
Post by: redwing on July 01, 2014, 09:37:00 AM
@whoever changed the links: Why the hell have I not been notified about the links not working? Instead the links where replaced by a random mediafire link without me knowing about it. That is definitly not the way this should be done. I'm kinda disappointed with the moderation.

I scrolled through the posts yesterday, but didn't see anyone stating that the link has been replaced at first glance. I guess those notification mails must have been dropped by getmusicbee.com's Mailserver during the short downtime of my Mailserver. Someone should check those deferring settings, none of my other mails got lost.

I don't really get your point. Is this your way of say thanks to people who took care of your plugin on behalf of you during your absence? It's not just "a random mediafire link" but a temporary link I hosted that the moderator who edited the first post must have confirmed it's the same file that you had released.

One odd thing is I remember I saw you logged in right after I posted the temporary link post about two months ago. I thought you would take some action but you didn't. And all of sudden you are blaming people for working on behalf of you and the "lost" notification you must have received without taking any action during that period.
Title: Re: LyricsReloaded
Post by: quick_wango on July 01, 2014, 11:02:56 AM
That was totally not pointed at you. Thanks to you for hosting it.
But we're dealing with DLL files here that could potentially do anything to a users system.

The first time I logged in (and actually looked into the forum) after the server migration was when I posted that I found out that the download was down (I tried to download the plugin myself). I might have been online before, but that was probably while migrating my password database. If it was on that day, it was probably by coincidence.
Mails getting lost is something that can happen during a server migration and 1-2 days of downtime, but most servers have their deferring configured with long enough delays to be able to hold mails for several days. Checking the deferring settings was a suggestion, not an attack.

Anyway the download is up, I might switch the site to https eventually in the coming days or weeks. I also might have time to work on the plugin again which will likely result in implementing another pile of providers and maybe some other goodies.
Title: Re: LyricsReloaded
Post by: redwing on July 01, 2014, 12:04:05 PM
OK, I guess that clarifies it.
Keep up the good work! Your plugin is quite popular - more than 400 downloads just for two months.
Title: Re: LyricsReloaded
Post by: quick_wango on July 04, 2014, 08:17:34 PM
As a final response to download being offline:
I switched the distribution to GitHub's releases which are much more reliable for you.
The main post has been updated to link to the latest release on GitHub which provides download links for the binary (mb_LyricsReloaded.dll) as well as source downloads.
Title: Re: LyricsReloaded
Post by: quick_wango on July 05, 2014, 02:16:14 AM
And here we go: Version 1.1.2.0 released.
This is a bug fix release:

* removed providers that are offline
* fixed lyricwiki and az lyrics
* fixed the update checker (there won't be a notification for this update sadly)

Download: https://github.com/pschichtel/LyricsReloaded/releases/tag/1.1.2.0

I also moved the provider to-do list into an issue: https://github.com/pschichtel/LyricsReloaded/issues/11
New providers can either be posted in that issue or here as usual.

Other issues have been reorganized as well
Title: Re: LyricsReloaded
Post by: cubedparadox on August 07, 2014, 10:47:01 PM
Cool plugin, I'd love to see support for musixmatch.com 's api, they have a ton of synced lyrics, as well as standard lyrics for many more songs. I have synced quite a few of those myself, and I'd like to be able to use them in my favorite music player. :)

Thanks, and keep up the great work!
Title: Re: LyricsReloaded
Post by: Sergio on September 28, 2014, 01:11:37 AM
Gracias, saludos desde Chile !!!

Thanks, greetings from Chile !!!
Title: Re: LyricsReloaded
Post by: ResoOner on October 06, 2014, 03:29:48 AM
And here we go: Version 1.1.2.0 released.
This is a bug fix release:

* removed providers that are offline
* fixed lyricwiki and az lyrics
* fixed the update checker (there won't be a notification for this update sadly)

Download: https://github.com/pschichtel/LyricsReloaded/releases/tag/1.1.2.0

I also moved the provider to-do list into an issue: https://github.com/pschichtel/LyricsReloaded/issues/11
New providers can either be posted in that issue or here as usual.

Other issues have been reorganized as well

Hey man loving the plugin, however RapGenius is no longer RapGenius, it's now known as *.Genius.com (* being Rap, Rock, Lit etc) a simple tweak to the file "LyricsReloaded\Configs\rapgenius.com.yml" fixes it.


If anyone would like, I can post the modified DLL here (along with a VirusTotal report, of course)
Title: Re: LyricsReloaded
Post by: psychoadept on October 06, 2014, 03:33:03 AM
Please do!
Title: Re: LyricsReloaded
Post by: Hiona on October 21, 2014, 09:40:27 PM
Doesn't work here.

I copied the mb_LyricsReloaded.dll in this folder C:\Program Files (x86)\MusicBee\Plugins.

The plugin is listed in the plugin section but nothing happens when i click on the configure button.
Does anyone else do have this problem or did i done something wrong?

Here is the log file: http://pastebin.com/066kSHKA


Sorry for my bad english
Title: Re: LyricsReloaded
Post by: quick_wango on October 22, 2014, 12:50:11 AM
Hey man loving the plugin, however RapGenius is no longer RapGenius, it's now known as *.Genius.com (* being Rap, Rock, Lit etc) a simple tweak to the file "LyricsReloaded\Configs\rapgenius.com.yml" fixes it.


If anyone would like, I can post the modified DLL here (along with a VirusTotal report, of course)

Can you make a Pull Request over at https://github.com/pschichtel/LyricsReloaded so I can add it to the official build?
Also providing a patched DLL is a) not necessary as the *.yml can be placed in the plugin folder and b) is not really wanted because DLLs can be harmful.

Doesn't work here.

I copied the mb_LyricsReloaded.dll in this folder C:\Program Files (x86)\MusicBee\Plugins.

The plugin is listed in the plugin section but nothing happens when i click on the configure button.
Does anyone else do have this problem or did i done something wrong?

Here is the log file: http://pastebin.com/066kSHKA


Sorry for my bad english

The plugin doesn't provide any functionality on the configure-button, that's expected. The log also doesn't show any problems except the update check not working (again... Github, fix your SSL!)
Title: Re: LyricsReloaded
Post by: herpdorpinkins on November 09, 2014, 11:31:16 AM
is it possible to have some more sites added? the vast majority of my music is heavy metal and most of the default sites cant find anything for me :(
Title: Re: LyricsReloaded
Post by: quick_wango on November 09, 2014, 12:54:54 PM
You might look at and comment this issue: https://github.com/pschichtel/LyricsReloaded/issues/11

Or if you know regular expressions you might add support yourself.
For this you can look at the documentation at GitHub (https://github.com/pschichtel/LyricsReloaded/blob/master/LyricsReloaded/README.md) and in the Wiki (http://musicbee.wikia.com/wiki/Lyrics_Plugins#Advanced)
Title: Re: LyricsReloaded
Post by: quick_wango on November 09, 2014, 01:03:34 PM
I might have time to work in this in a few weeks
Title: Re: LyricsReloaded
Post by: varthshenon on November 18, 2014, 05:10:12 PM
Can you add http://www.animelyrics.com/ ?
 ;D
Title: Re: LyricsReloaded
Post by: quick_wango on November 18, 2014, 06:09:09 PM
https://github.com/pschichtel/LyricsReloaded/issues/11
Title: Re: LyricsReloaded
Post by: ResoOner on November 30, 2014, 01:02:14 AM
Hey man loving the plugin, however RapGenius is no longer RapGenius, it's now known as *.Genius.com (* being Rap, Rock, Lit etc) a simple tweak to the file "LyricsReloaded\Configs\rapgenius.com.yml" fixes it.


If anyone would like, I can post the modified DLL here (along with a VirusTotal report, of course)

Can you make a Pull Request over at https://github.com/pschichtel/LyricsReloaded so I can add it to the official build?
Also providing a patched DLL is a) not necessary as the *.yml can be placed in the plugin folder and b) is not really wanted because DLLs can be harmful.

Doesn't work here.

I copied the mb_LyricsReloaded.dll in this folder C:\Program Files (x86)\MusicBee\Plugins.

The plugin is listed in the plugin section but nothing happens when i click on the configure button.
Does anyone else do have this problem or did i done something wrong?

Here is the log file: http://pastebin.com/066kSHKA


Sorry for my bad english

The plugin doesn't provide any functionality on the configure-button, that's expected. The log also doesn't show any problems except the update check not working (again... Github, fix your SSL!)

hey man sorry to take so long to reply to you! My computer died so I unfortunately no longer have access to the edits I made, however it was really simple I just removed the word "Rap" from the RapGenius config file 'cause their URL is now just "Genius.com" instead of "RapGenius.com"

I don't know how to work GitHub but I suppose I can give it a shot if the file still needs fixing!

Thanks for maintaining the plugin. Couldn't live without it lol.
Title: Re: LyricsReloaded
Post by: Xyzzy on January 04, 2015, 02:41:47 PM
I have an idea- as some sources specialize in specific language/genre(s), maybe it would be good idea to search them first for these specific languages/genres? They have the biggest chances for a good fit.

Fe
- if a TXXX/ARTIST COUNTRY is Poland, tekstowo.pl and teksty.org would be searched first
- if Genre is *Metal* (* = wildcard), darklyrics and Encyclopaedia Metallum are searched first

Countries and genres would need to by assigned to datasources in code.


Title: Re: LyricsReloaded
Post by: quick_wango on January 04, 2015, 02:44:31 PM
As far as I know plugins don't have control over the order providers are searched
Title: Re: LyricsReloaded
Post by: imdaleaf on January 11, 2015, 12:49:14 AM
Would love to see some more sites on the Lyrics Reloaded Plugin. PLyrics to be more specific. A few of my songs aren't picking anything up from the current sites on the default / reloaded plugin. If possible a feature where you can link certain sites.
Title: Re: LyricsReloaded
Post by: Big Mons on January 17, 2015, 06:12:51 AM
Would it be possible to build something into the plugin that would add the source at the end of the lyrics? For example, in the past I used a batch lyric plugin for MediaMonkey before I discovered MusicBee. At the end of the lyrics, it lists the following:
Quote
Lyrics provided by: AZLyrics.com
Artist: MEGADETH
Track: Symphony Of Destruction
Quote
Lyrics provided by: Lyric.Wikia.com
Artist: Pink Floyd
Track: Time
If it's possible, perhaps make it an option, like a checkbox, in the settings for the plugin. Some people may not want it. I think it's good for two reasons off the top of my head:
Thanks!
Title: Re: LyricsReloaded
Post by: Boile on January 17, 2015, 09:01:38 AM
+1
Title: Re: LyricsReloaded
Post by: Alumni on January 17, 2015, 10:04:53 AM
+1

I'd also like the option to see the lyrics source at the bottom of the sheet.
Title: Re: LyricsReloaded
Post by: redwing on January 20, 2015, 10:29:12 PM
Among those included sites, another LyricWiki is used by native MB fetcher, and another Urban Lyrics is used by Steven's Lyrics plugin. How about renaming those sites in your plugin so that they could be distinguished?
Title: Re: LyricsReloaded
Post by: vzell on January 21, 2015, 10:10:49 AM
I'd also like the option to see the lyrics source at the bottom of the sheet.

+1, but configurable
Title: Re: LyricsReloaded
Post by: skarfy on February 27, 2015, 05:33:48 AM
Can you add http://www.directlyrics.com/?
Title: Re: LyricsReloaded
Post by: XarsYs on March 14, 2015, 03:31:50 PM
Hi! I would like to request an actual solution to the Genius lyrics - they are such a quality lyric site and I would love it if I would be able to have lyrics from that source. Especially for all my underground rap songs, they are simply not found on other sites.

I tried editing the configuration file but then it won't load the plugin. Probably some hashsum check or something, I really don't know what I am doing :S

Thanks!
Title: Re: LyricsReloaded
Post by: ResoOner on April 06, 2015, 03:25:52 AM
Hi! I would like to request an actual solution to the Genius lyrics - they are such a quality lyric site and I would love it if I would be able to have lyrics from that source. Especially for all my underground rap songs, they are simply not found on other sites.

I tried editing the configuration file but then it won't load the plugin. Probably some hashsum check or something, I really don't know what I am doing :S

Thanks!

I was able to fix it previously, but lost the files that I edited so I am not really sure how I did it, but if I was able to do it then I am sure it is quite an easy fix for the coder of the plugin, however he has known about this issue for quite some time (see my other posts in this thread) and has shown pretty much no interest in fixing it so I wouldn't hold my breath if I were you.
Title: Re: LyricsReloaded
Post by: Moshi_ on April 08, 2015, 04:53:37 PM
+1 for genius.com

Exceptional lyrics site!!! We need to have a proper working plugin version for it!
Title: Re: LyricsReloaded
Post by: XarsYs on April 13, 2015, 03:36:00 PM
Hi! I would like to request an actual solution to the Genius lyrics - they are such a quality lyric site and I would love it if I would be able to have lyrics from that source. Especially for all my underground rap songs, they are simply not found on other sites.

I tried editing the configuration file but then it won't load the plugin. Probably some hashsum check or something, I really don't know what I am doing :S

Thanks!

I was able to fix it previously, but lost the files that I edited so I am not really sure how I did it, but if I was able to do it then I am sure it is quite an easy fix for the coder of the plugin, however he has known about this issue for quite some time (see my other posts in this thread) and has shown pretty much no interest in fixing it so I wouldn't hold my breath if I were you.

Could you at least remember what program you used to correct it? I tried manually editing, then I tried some weird .dll decompiler but the one I used could not alter everything properly but I was able to find the wrong part at least, just not edit it :S

So that could help, if I manage to fix it you bet I will post the fix here too... Genius is the best, really.
Title: Re: LyricsReloaded
Post by: jmsiddhapura on April 14, 2015, 12:57:26 PM
This is also lyrics site http://www.99songlyrics.in
Title: Re: LyricsReloaded
Post by: J24 on May 05, 2015, 12:05:27 PM
For some reason Genius.com and other sites like A-Z Lyrics and LyricWiki are not able to retrieve the lyrics of songs that have parentheses in them. For example, it can't find "The Miracle (Of Joey Ramone)", "California (There Is No End to Love)", or "Iris (Hold Me Close)". However, SongLyrics.com can find them. Metrolyrics can find them too but stanza divisions are lost.

EDIT: Actually, I think A-Z Lyrics is not working at all, even with songs that don't have parentheses.
Title: Re: LyricsReloaded
Post by: J24 on May 06, 2015, 12:15:14 AM
I see, would you know why A-Z Lyrics is not working with songs that don't have parentheses either?
Looking at the log file I can see that the right URL was created but it doesn't load the lyrics in MB.

Here's what the log file says:
[DEBUG] The constructed URL: http://www.azlyrics.com/lyrics/u2/thetroubles.html
[DEBUG] gzip compression detected
[DEBUG] lyrics found
Title: Re: LyricsReloaded
Post by: J24 on May 06, 2015, 01:08:42 AM
The site is not down for me now though, I can open the URLs from the log file in my Firefox browser but still can't retrieve the lyrics in MB.
Title: Re: LyricsReloaded
Post by: imnotgerardo on July 23, 2015, 08:26:24 PM
Forgive me as I'm not as experienced as the rest of you, but I went to the first page of the thread and downloaded the latest version. Was there ever a fix to every provider showing up as 'MUSICBEE PLUGIN' ? Also I'm pretty sure Genius is still not working as lyrics that are on the site result in No lyrics found.

Just trying to keep this alive so we can all solve this
Title: Re: LyricsReloaded
Post by: Moshi_ on August 30, 2015, 11:26:40 AM
Here is how to add Genius.com as a provider with this plugin.

1. Save the following code as a text file named "genius.com.yml"

2. Place the file in <MusicBee's appdata folder>/mb_LyricsReloaded/providers/ folder (the folder already exists if the plugin is enabled)

3. Now you will see "Genius" entry from the lyrics providers list in Preferences> Tags(2)> lyrics setting.


Thank you so much for this!!!
Title: Re: LyricsReloaded
Post by: emmaoninternet on September 02, 2015, 09:09:47 AM
Here is how to add Genius.com as a provider with this plugin.

1. Save the following code as a text file named "genius.com.yml"

2. Place the file in <MusicBee's appdata folder>/mb_LyricsReloaded/providers/ folder (the folder already exists if the plugin is enabled)

3. Now you will see "Genius" entry from the lyrics providers list in Preferences> Tags(2)> lyrics setting.
Indeed, thank you, redwing, for posting that extremely helpful Genius.com provider template. I started using it awhile ago and eventually realized that it was having issues retrieving lyrics for some tracks/artists with various punctuation patterns, so I decided to take a look at the log and see what was up. And then I accidentally spent waaaaaaaay too much time discovering all the annoying variations in how lyrics sites format artist+title strings and flexing my puny regex muscles, with the aid of Pythex.org (http://pythex.org).

The result of my nerdocity is a modified Genius.com (http://genius.com) provider config + a config for Musixmatch.com (http://musixmatch.com). Neither are 100%, of course, but I tested it with a bunch of stupid character-containing bands and song titles and, while I'm quite sure that both configs could be significantly cleaned up by utilizing some of the built-in plugin filters and less terrible regex skillz, they seem to get the job done most of the time. They will, however, both still fail on song titles with parentheses, as the plugin strips everything on and after the 1st "(" before being scrubbed by the provider config (plus, feat. <artist> patterns are all over the place, so F that).



Anyway, here's my modified code for Genius (see redwing's original instructions for how to install (#post_geniusinstall))
Code: genius.com.yml
name: "Genius"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]    # !!! (Chk Chk Chk) artist exception
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '\s&(?=\s)', " and"]          # Replace " &" with " and"
                                                    ## ^ Currently superfluous (for ARTIST) bc plugin preemptively replaces "&" with "and"
                                                        ### ^ But still necessary for <title> "&" replacement
        - [regex, '[’\.,'']+|(\W+(?=$))|(^\W+)', ""] # Strip "'/’" + "." + "," + beginning/end of string non-word chars
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" e.g., f**k > f-k
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric chars before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### ^ EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters: artist

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div\s+class="lyrics"[^>]*?>(?<lyrics>.*?)</div>', s]

post-filters:
- strip_html
- clean_spaces
- utf8_encode



For Musixmatch, copy/paste below code to a text file named "musixmatch.com.yml", save to MusicBee's <appdata folder>/mb_LyricsReloaded/providers/, open Musicbee and add new Musixmatch provider from Preferences > Tags (2) > Auto-tagging > Lyrics [...]
Code: musixmatch.com.yml
name: "Musixmatch"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "artist-46206"]      # !!! (Chk Chk Chk) artist exception
        - [replace, "+/-", "p%m"]               # +/- artist janky exception (step 1)
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '[’'']+', "%27"]              # URL encode "'/’" bc MM is cool w/ dat shit
        - [regex, '\s&\s(?=the)', " and "]      # ONLY if succeeded by "the", replace " & " with " and "
                                                    ## ^ Currently superfluous bc plugin preemptively replaces "&" with "and"
                                                        ### ^ So MM will choke if <artist> contains "& (?!the)"
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., M.I.A. > M-I-A.
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'/’" URL encoding after strip_nonascii
        - [regex, '(?<=^)p-m', "-"]             # Janky replace for artist +/- after strip_nonascii (step 2)
    title:
        type: title
        filters:                                # Not using identical artist filters due to different treatment of "&" in titles vs artist names
                                                # Musixmatch strips "&" from <title> ALWAYS; from <artist> too, *unless* "& the", then replaced with "and"
                                                    ## ^ see "&" treatment note above, under 'artist'
        - strip_diacritics
        - lowercase
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '[’'']+', "%27"]              # URL encode "'/’" bc MM is cool w/ dat shit
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., f**k > f-k
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'/’" URL encoding after strip_nonascii

config:
    url: "http://www.musixmatch.com/lyrics/{artist}/{title}"
    pattern: ['<span\s+id="lyrics-html"[^>]*?>(?<lyrics>.*?)</span>', s]

post-filters:
- utf8_encode

* I included my comments, just in case anyone wants to take stab at updating or modifying my very silly regex and wants to know what the hell I was thinking (delete at will - they have no effect on functionality).

So, yeah, with both Genius and Musixmatch as my #1 & #2 lyrics providers, I wanna say like 90% of my 25K songs now come with bonus words. Yay and thanks again redwing (http://getmusicbee.com/forum/index.php?action=profile;u=4143) and, of course, quick_wango (http://getmusicbee.com/forum/index.php?action=profile;u=8313)!


* Edit: 2015.09.02 10:30 PST - added featured artist stripping to both configs
* Edit: 2015.09.11 13:10 PST - updated both configs to handle curly apostrophes like straight ( -> ' )
Title: Re: LyricsReloaded
Post by: Moshi_ on September 02, 2015, 12:03:22 PM
Thank you, emmaoninternet!!!

This genius.com modification is really better!!

Have you found a way to ignore features in the artist field? Because they screw up the search and nothing is found.

Before your modification, I couldn't grab lyrics from genius for this song:

Macklemore & Ryan Lewis - Wing$

Because genius.com had it as Macklemore And Ryan Lewis. Now it grabs it perfectly fine.

But for this:

Macklemore & Ryan Lewis feat. Ray Dalton - Can't Hold Us

I still can't grab it because it has feat. in it. Is there a way to make it ignore feat.?
Title: Re: LyricsReloaded
Post by: emmaoninternet on September 02, 2015, 06:36:22 PM
But for this:

Macklemore & Ryan Lewis feat. Ray Dalton - Can't Hold Us

I still can't grab it because it has feat. in it. Is there a way to make it ignore feat.?
Ah, yes, most of of my recent library has all artists cleaned up to have "feat" artists in the separate <Artists: Guest> tag, so I didn't bother much with that originally, but yeah it probably makes a difference if you have it all in the artist field or at the end of the song title. Genius, especially tends to not include any of that in the URL, whereas Musixmatch seems to be pretty good about redirecting and/or will even have 2 separate listings (1 with feat artist crap, 1 without), but that's more inconsistent.

I updated both in their respective code sections in my previous post so they'll now strip everything on/after f./ft./feat/./featuring.
Title: Re: LyricsReloaded
Post by: cubedparadox on September 02, 2015, 09:53:23 PM
Thanks emmaoninternet, I can't believe someone actually implemented musixmatch support! Now I just need lyric syncing, and I'll be able to ditch minilyrics!
Title: Re: LyricsReloaded
Post by: Moshi_ on September 02, 2015, 09:56:28 PM
Wow! It works beautifully now, emmaoninternet!!!

Thank you so much!!
Title: Re: LyricsReloaded
Post by: nogoya2002 on September 03, 2015, 02:41:18 AM
Thanks!!!!!!
Title: Re: LyricsReloaded
Post by: Bigmelwalter on September 03, 2015, 05:59:33 PM
Here is how to add Genius.com as a provider with this plugin.

1. Save the following code as a text file named "genius.com.yml"

2. Place the file in <MusicBee's appdata folder>/mb_LyricsReloaded/providers/ folder (the folder already exists if the plugin is enabled)

3. Now you will see "Genius" entry from the lyrics providers list in Preferences> Tags(2)> lyrics setting.
Indeed, thank you, redwing, for posting that extremely helpful Genius.com provider template. I started using it awhile ago and eventually realized that it was having issues retrieving lyrics for some tracks/artists with various punctuation patterns, so I decided to take a look at the log and see what was up. And then I accidentally spent waaaaaaaay too much time discovering all the annoying variations in how lyrics sites format artist+title strings and flexing my puny regex muscles, with the aid of Pythex.org (http://pythex.org).

The result of my nerdocity is a modified Genius.com (http://genius.com) provider config + a config for Musixmatch.com (http://musixmatch.com). Neither are 100%, of course, but I tested it with a bunch of stupid character-containing bands and song titles and, while I'm quite sure that both configs could be significantly cleaned up by utilizing some of the built-in plugin filters and less terrible regex skillz, they seem to get the job done most of the time. They will, however, both still fail on song titles with parentheses, as the plugin strips everything on and after the 1st "(" before being scrubbed by the provider config (plus, feat. <artist> patterns are all over the place, so F that).



Anyway, here's my modified code for Genius (see redwing's original instructions for how to install (#post_geniusinstall))
Code: genius.com.yml
name: "Genius"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]    # !!! (Chk Chk Chk) artist exception
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '\s&(?=\s)', " and"]          # Replace " &" with " and"
                                                    ## ^ Currently superfluous (for ARTIST) bc plugin preemptively replaces "&" with "and"
                                                        ### ^ But still necessary for <title> "&" replacement
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]   # Strip "." + "," + beginning/end of string non-word chars
        - [regex, "'", ""]                      # Separate expression bc of annoying way YAML escapes '
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" e.g., f**k > f-k
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric chars before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### ^ EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters: artist

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div\s+class="lyrics"[^>]*?>(?<lyrics>.*?)</div>', s]

post-filters:
- strip_html
- clean_spaces
- utf8_encode



For Musixmatch, copy/paste below code to a text file named "musixmatch.com.yml", save to MusicBee's <appdata folder>/mb_LyricsReloaded/providers/, open Musicbee and add new Musixmatch provider from Preferences > Tags (2) > Auto-tagging > Lyrics [...]
Code: musixmatch.com.yml
name: "Musixmatch"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "artist-46206"]      # !!! (Chk Chk Chk) artist exception
        - [replace, "+/-", "p%m"]               # +/- artist janky exception (step 1)
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, "'", "%27"]                   # URL encode "'" bc MM is cool w/ dat shit
        - [regex, '\s&\s(?=the)', " and "]      # ONLY if succeeded by "the", replace " & " with " and "
                                                    ## ^ Currently superfluous bc plugin preemptively replaces "&" with "and"
                                                        ### ^ So MM will choke if <artist> contains "& (?!the)"
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., M.I.A. > M-I-A.
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'" URL encoding after strip_nonascii
        - [regex, '(?<=^)p-m', "-"]             # Janky replace for artist +/- after strip_nonascii (step 2)
    title:
        type: title
        filters:                                # Not using identical artist filters due to different treatment of "&" in titles vs artist names
                                                # Musixmatch strips "&" from <title> ALWAYS; from <artist> too, *unless* "& the", then replaced with "and"
                                                    ## ^ see "&" treatment note above, under 'artist'
        - strip_diacritics
        - lowercase
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, "'", "%27"]                   # URL encode "'" bc MM is cool w/ dat shit
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., f**k > f-k
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'" URL encoding after strip_nonascii

config:
    url: "http://www.musixmatch.com/lyrics/{artist}/{title}"
    pattern: ['<span\s+id="lyrics-html"[^>]*?>(?<lyrics>.*?)</span>', s]

post-filters:
- utf8_encode

* I included my comments, just in case anyone wants to take stab at updating or modifying my very silly regex and wants to know what the hell I was thinking (delete at will - they have no effect on functionality).

So, yeah, with both Genius and Musixmatch as my #1 & #2 lyrics providers, I wanna say like 90% of my 25K songs now come with bonus words. Yay and thanks again redwing (http://getmusicbee.com/forum/index.php?action=profile;u=4143) and, of course, quick_wango (http://getmusicbee.com/forum/index.php?action=profile;u=8313)!


* Edit: 2015.09.02 10:30 PST - added featured artist stripping to both configs

For some reason both of these don't show up. I saved each text in a separate yml file (via notepad) and put them in <Roaming/MusicBee/LyricsReloaded/Providers/

Then I restarted MB and they aren't in the Tags (2) Lyrics section. Any clue? Using the latest MB (2.5.5721)
Title: Re: LyricsReloaded
Post by: Havokdan on September 03, 2015, 08:09:15 PM
Here is how to add Genius.com as a provider with this plugin.

1. Save the following code as a text file named "genius.com.yml"

2. Place the file in <MusicBee's appdata folder>/mb_LyricsReloaded/providers/ folder (the folder already exists if the plugin is enabled)

3. Now you will see "Genius" entry from the lyrics providers list in Preferences> Tags(2)> lyrics setting.
Indeed, thank you, redwing, for posting that extremely helpful Genius.com provider template. I started using it awhile ago and eventually realized that it was having issues retrieving lyrics for some tracks/artists with various punctuation patterns, so I decided to take a look at the log and see what was up. And then I accidentally spent waaaaaaaay too much time discovering all the annoying variations in how lyrics sites format artist+title strings and flexing my puny regex muscles, with the aid of Pythex.org (http://pythex.org).

The result of my nerdocity is a modified Genius.com (http://genius.com) provider config + a config for Musixmatch.com (http://musixmatch.com). Neither are 100%, of course, but I tested it with a bunch of stupid character-containing bands and song titles and, while I'm quite sure that both configs could be significantly cleaned up by utilizing some of the built-in plugin filters and less terrible regex skillz, they seem to get the job done most of the time. They will, however, both still fail on song titles with parentheses, as the plugin strips everything on and after the 1st "(" before being scrubbed by the provider config (plus, feat. <artist> patterns are all over the place, so F that).



Anyway, here's my modified code for Genius (see redwing's original instructions for how to install (#post_geniusinstall))
Code: genius.com.yml
name: "Genius"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]    # !!! (Chk Chk Chk) artist exception
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '\s&(?=\s)', " and"]          # Replace " &" with " and"
                                                    ## ^ Currently superfluous (for ARTIST) bc plugin preemptively replaces "&" with "and"
                                                        ### ^ But still necessary for <title> "&" replacement
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]   # Strip "." + "," + beginning/end of string non-word chars
        - [regex, "'", ""]                      # Separate expression bc of annoying way YAML escapes '
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" e.g., f**k > f-k
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric chars before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### ^ EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters: artist

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div\s+class="lyrics"[^>]*?>(?<lyrics>.*?)</div>', s]

post-filters:
- strip_html
- clean_spaces
- utf8_encode



For Musixmatch, copy/paste below code to a text file named "musixmatch.com.yml", save to MusicBee's <appdata folder>/mb_LyricsReloaded/providers/, open Musicbee and add new Musixmatch provider from Preferences > Tags (2) > Auto-tagging > Lyrics [...]
Code: musixmatch.com.yml
name: "Musixmatch"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "artist-46206"]      # !!! (Chk Chk Chk) artist exception
        - [replace, "+/-", "p%m"]               # +/- artist janky exception (step 1)
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, "'", "%27"]                   # URL encode "'" bc MM is cool w/ dat shit
        - [regex, '\s&\s(?=the)', " and "]      # ONLY if succeeded by "the", replace " & " with " and "
                                                    ## ^ Currently superfluous bc plugin preemptively replaces "&" with "and"
                                                        ### ^ So MM will choke if <artist> contains "& (?!the)"
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., M.I.A. > M-I-A.
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'" URL encoding after strip_nonascii
        - [regex, '(?<=^)p-m', "-"]             # Janky replace for artist +/- after strip_nonascii (step 2)
    title:
        type: title
        filters:                                # Not using identical artist filters due to different treatment of "&" in titles vs artist names
                                                # Musixmatch strips "&" from <title> ALWAYS; from <artist> too, *unless* "& the", then replaced with "and"
                                                    ## ^ see "&" treatment note above, under 'artist'
        - strip_diacritics
        - lowercase
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, "'", "%27"]                   # URL encode "'" bc MM is cool w/ dat shit
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., f**k > f-k
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'" URL encoding after strip_nonascii

config:
    url: "http://www.musixmatch.com/lyrics/{artist}/{title}"
    pattern: ['<span\s+id="lyrics-html"[^>]*?>(?<lyrics>.*?)</span>', s]

post-filters:
- utf8_encode

* I included my comments, just in case anyone wants to take stab at updating or modifying my very silly regex and wants to know what the hell I was thinking (delete at will - they have no effect on functionality).

So, yeah, with both Genius and Musixmatch as my #1 & #2 lyrics providers, I wanna say like 90% of my 25K songs now come with bonus words. Yay and thanks again redwing (http://getmusicbee.com/forum/index.php?action=profile;u=4143) and, of course, quick_wango (http://getmusicbee.com/forum/index.php?action=profile;u=8313)!


* Edit: 2015.09.02 10:30 PST - added featured artist stripping to both configs

For some reason both of these don't show up. I saved each text in a separate yml file (via notepad) and put them in <Roaming/MusicBee/LyricsReloaded/Providers/

Then I restarted MB and they aren't in the Tags (2) Lyrics section. Any clue? Using the latest MB (2.5.5721)

You saved with the name indicated in the above guide? Me also did not show up, then I put the name the colleague pointed out, it worked, I thought the file name was not important, only the extension.
Title: Re: LyricsReloaded
Post by: Moshi_ on September 04, 2015, 01:52:22 PM

For some reason both of these don't show up. I saved each text in a separate yml file (via notepad) and put them in <Roaming/MusicBee/LyricsReloaded/Providers/

Then I restarted MB and they aren't in the Tags (2) Lyrics section. Any clue? Using the latest MB (2.5.5721)

I might be just nitpicking here but that path is wrong.

It's suppose to be: AppData\Roaming\MusicBee\mb_LyricsReloaded\providers

Your path is missing the bold part.
Title: Re: LyricsReloaded
Post by: Bigmelwalter on September 04, 2015, 04:34:28 PM

For some reason both of these don't show up. I saved each text in a separate yml file (via notepad) and put them in <Roaming/MusicBee/LyricsReloaded/Providers/

Then I restarted MB and they aren't in the Tags (2) Lyrics section. Any clue? Using the latest MB (2.5.5721)

I might be just nitpicking here but that path is wrong.

It's suppose to be: AppData\Roaming\MusicBee\mb_LyricsReloaded\providers

Your path is missing the bold part.

Big Thanks!!!!!!!!!!!!!! There are two LyricsReloaded folders
Title: Re: LyricsReloaded
Post by: lelecureuil on September 08, 2015, 02:19:56 AM
thanks so much @emmaoninternet, @redwing and of course @quick_wango!
Title: Re: LyricsReloaded
Post by: nogoya2002 on September 08, 2015, 03:10:40 AM
+10!!!!
Title: Re: LyricsReloaded
Post by: manu1433 on September 10, 2015, 11:39:52 PM
So, I'm trying to add genius in there as well and am not getting it to show up. Was wondering if somebody could give me some pointers.

I am saving it in the correct location, so that doesn't seem to be the issue.

Alright, so all I have to do is open notepad, copy/paste the code into the document and title the file "genius.com.yml"

or is there a step that I am simply missing?
Title: Re: LyricsReloaded
Post by: manu1433 on September 10, 2015, 11:55:20 PM
So, I'm trying to add genius in there as well and am not getting it to show up. Was wondering if somebody could give me some pointers.

I am saving it in the correct location, so that doesn't seem to be the issue.

Alright, so all I have to do is open notepad, copy/paste the code into the document and title the file "genius.com.yml"

or is there a step that I am simply missing?

Disregard this.

I just realized that I forgot to save it as a YML file instead a regular text file.

Jabronie mistake on my part.
Title: Re: LyricsReloaded
Post by: emmaoninternet on September 11, 2015, 09:21:36 PM
* Edit: 2015.09.11 13:10 PST - updated both configs to handle curly apostrophes like straight ( -> ' )
Updated provider code(s) in my orig post (http://getmusicbee.com/forum/index.php?topic=9994.msg95639#msg95639) because curly apostrophes are silly and trollish.
Title: Re: LyricsReloaded
Post by: PancakePenguin on September 18, 2015, 03:44:59 AM
I tried adding the musixmatch and genius providers but they don't work. I did some digging and found this in the log file


17/09/2015 07:33:52 [DEBUG] Loading config from file: C:\Users\LJ\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\genius.com.yml
17/09/2015 07:33:52 [INFO] Provider loaded: Genius
17/09/2015 07:33:52 [DEBUG] Loading config from file: C:\Users\LJ\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\musixmatch.com.yml
17/09/2015 07:33:52 [INFO] Provider loaded: Musixmatch
17/09/2015 07:34:01 [DEBUG] Received a notification of type PluginStartup
17/09/2015 07:34:03 [DEBUG] gzip compression detected
17/09/2015 07:41:26 [DEBUG] Lyrics request:  - Childish Gambino - All the Shine - Camp - Genius
17/09/2015 07:41:26 [DEBUG] Lyrics request:  - Childish Gambino - All the Shine - Camp - Genius
17/09/2015 07:41:26 [DEBUG] Lyrics request:  - Childish Gambino - All the Shine - Camp - Musixmatch
17/09/2015 07:41:26 [DEBUG] Lyrics request:  - Childish Gambino - All the Shine - Camp - Rap Genius
17/09/2015 07:41:26 [INFO] Rap Genius tries to load the lyrics...
17/09/2015 07:41:26 [DEBUG] The constructed URL: http://rapgenius.com/childish-gambino-all-the-shine-lyrics
17/09/2015 07:41:26 [INFO] Musixmatch tries to load the lyrics...
17/09/2015 07:41:26 [DEBUG] The constructed URL: http://www.musixmatch.com/lyrics/childish-gambino/all-the-shine
17/09/2015 07:41:28 [DEBUG] gzip compression detected
17/09/2015 07:41:28 [DEBUG] lyrics found
Title: Re: LyricsReloaded
Post by: emmaoninternet on September 20, 2015, 01:22:38 AM
I tried adding the musixmatch and genius providers but they don't work. I did some digging and found this in the log file
Hmm, just from the log snippet you pasted, that all looks like it would be working ok, although it doesn't show the constructed URL for the separate Genius provider, though it may have been cut off below (+ logging seems to be a little inconsistent re: what actually gets printed for every lyric-search/transaction, especially the first search after startup).

Testing on the same song, it was able to find lyrics from both sources and, given the content/formatting, loaded them from Genius, so not sure what might be happening on your end. I tried enabling the built-in RapGenius provider (which I normally don't) to see if that was messing with anything, but haven't noticed any adverse effects. Besides just making sure you're on the latest version of this plugin/MusicBee, maybe rearrange your lyrics provider preference ordering in Tags (2) to put Genius + Musixmatch at #1/2  and disable the LyricsFetcher plugin if you have it.

Also try re-search/loading some lyrics via right-click "search next provider" "redo search", etc. Even if it finds lyrics from multiple sources, it will only show for one, but see if anything interesting is generated in the end of the log. *In the lyrics right click context menu, it will say 'Lyrics Source: MUSICBEE PLUGIN' when it's used a lyrics provider from this plugin.
Title: Re: LyricsReloaded
Post by: Moshi_ on September 21, 2015, 11:48:25 AM
I would also advise on disabling built-in RapGenius plugin.
Title: Re: LyricsReloaded
Post by: PancakePenguin on September 21, 2015, 11:27:42 PM
It seems to be working now. I disabled the built in Rap Genius provider and put musixmatch and genius at the top.
Title: Re: LyricsReloaded
Post by: cmd.cmd on September 28, 2015, 04:40:22 AM
Get hindi songs lyrics on these sites

http://www.lyricsbell.com/
http://www.lyricsoff.com/
http://www.lyricsbull.com/
Title: Re: LyricsReloaded
Post by: StarkRaving on October 28, 2015, 12:11:47 AM
I have a question that isn't strictly speaking a LyricsReloaded issue, but I thought this would be the best place to get some help.

I have many, many songs that contain the following piece of text in place of the lyrics:

<a href=http://lyricsfly.com>Find lyrics on LyricsFly.com</a>

Is there a way to target these songs and perform a "Delete Lyrics and Redo Search"?  The songs exist across a very large array of artists and albums.

[EDIT] With the help of forum members, I was able to find a solution.  The Additional Tag Tools plugin allows me to do a find/replace on songs containing the above string.

Title: Re: LyricsReloaded
Post by: quick_wango on November 26, 2015, 06:35:13 PM
Great to see that people are still liking my plugin.
Thanks to emmaoninternet for the good providers and helping others here.

I kind of lost interest in the project as I moved entirely to Linux and I am thus unable to use MusicBee.
But for that reason I made it both open source on GitHub (including open feature requests) and as extensible as possible right from the beginning.

However if someone wants to take the project over, feel free to contact me (contact address is on my github profile).
If someone wants to sponsor me to keep developing the plugin, contact me in the same way.

Otherwise the development of the plugin from my side officially ends now.
Title: Re: LyricsReloaded
Post by: PancakePenguin on November 26, 2015, 06:51:56 PM
Great to see that people are still liking my plugin.
Thanks to emmaoninternet for the good providers and helping others here.

I kind of lost interest in the project as I moved entirely to Linux and I am thus unable to use MusicBee.
But for that reason I made it both open source on GitHub (including open feature requests) and as extensible as possible right from the beginning.

However if someone wants to take the project over, feel free to contact me (contact address is on my github profile).
If someone wants to sponsor me to keep developing the plugin, contact me in the same way.

Otherwise the development of the plugin from my side officially ends now.
Its pretty great how it is now. The next step I can see is synced lyrics. Thanks for putting work into this!
Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 09, 2015, 10:26:18 PM
For some reason this plugin doesn't work in MB3 Demo. Could there be an error on my part?
Title: Re: LyricsReloaded
Post by: phred on December 09, 2015, 11:47:41 PM
For some reason this plugin doesn't work in MB3 Demo. Could there be an error on my part?
Could you be a little more specific?  How do you know it's not working?  I'm using it with no problems.
Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 10, 2015, 04:43:34 AM
For some reason this plugin doesn't work in MB3 Demo. Could there be an error on my part?
Could you be a little more specific?  How do you know it's not working?  I'm using it with no problems.

I don't see the other sources for lyrics under the tags section. The only one's there are the default ones. Do I need to reinstall it?
Title: Re: LyricsReloaded
Post by: phred on December 10, 2015, 12:43:46 PM
I would suggest closing MB, and unzipping the DLL into the Plugins folder.  Even if the version you're unzipiping is the same as what's already there.  Then relaunch MB and see what happens.  As you are probably aware, the developer of this plugin has stopped development and if this doesn't work, you'll have to put out a call for help to see if anyone else has some ideas.
Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 10, 2015, 01:21:11 PM
I would suggest closing MB, and unzipping the DLL into the Plugins folder.  Even if the version you're unzipiping is the same as what's already there.  Then relaunch MB and see what happens.  As you are probably aware, the developer of this plugin has stopped development and if this doesn't work, you'll have to put out a call for help to see if anyone else has some ideas.

I will try that. I am aware that the dev has ceased development.
Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 10, 2015, 01:52:59 PM
(http://i.imgur.com/RPK9Elw.png)

This comes up when I try to enable it
Title: Re: LyricsReloaded
Post by: phred on December 10, 2015, 06:07:09 PM
Are you running MB 2.5 or 3.x?  Whichever one you're running, try it in the other.
Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 12, 2015, 10:51:12 PM
I'm using 3, should I delete 2?
Title: Re: LyricsReloaded
Post by: phred on December 13, 2015, 12:55:24 AM
I'm using 3, should I delete 2?
No. Just don't have them open at the same time if you're tagging tracks, etc.
Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 13, 2015, 01:10:16 AM
I don't and I still cant get Lyrics reloaded to run
Title: Re: LyricsReloaded
Post by: phred on December 13, 2015, 01:59:57 AM
I don't and I still cant get Lyrics reloaded to run
Sorry to say that I'm out of ideas at this point.  Maybe someone else will chime in with some suggestions.  It should work as it is working for me.
Title: Re: LyricsReloaded
Post by: Alumni on December 13, 2015, 07:04:24 AM
I don't and I still cant get Lyrics reloaded to run

Could it be that antivirus software or Windows security is blocking the plugin's .dll file?
Title: Re: LyricsReloaded
Post by: h0m3r on December 13, 2015, 12:24:53 PM
I had the same problem.
Try Right-click on the mb_Lyrics Reloaded.dll

(http://t1m.eu/farm/mblr.jpg)

Click at the bottom on permit.

Hope that help.

sry for Germen Screenshot :)


Title: Re: LyricsReloaded
Post by: Bigmelwalter on December 13, 2015, 08:51:43 PM
I had the same problem.
Try Right-click on the mb_Lyrics Reloaded.dll

(http://t1m.eu/farm/mblr.jpg)

Click at the bottom on permit.

Hope that help.

sry for Germen Screenshot :)




So freaking happy!!!!!!!!!!!!!!!! Big Thanks h0m3r!
Title: Re: LyricsReloaded
Post by: eugenesv on December 28, 2015, 02:48:51 PM
The result of my nerdocity is a modified Genius.com (http://genius.com) provider config + a config for Musixmatch.com (http://musixmatch.com).
Thank you for this awesome script! Now I can easily add non-synced lyrics with a few clicks within MusicBee!
However, when I'm ticking both providers in the addon auto-tagging priority menu (e.g. "1. Musixmatch 2. Genius") I see that only the Musixmatch lyrics are downloaded and when I choose "Search Next Provider" I get "No lyrics" instead of the lyrics from Genius (the same is true if I change order). My guess that this is a bug in the addon itself, rather than something in your scripts, but wanted to check with you since you might know better.

Also, since Musixmatch is one of the only two providers I've found that have synced lyrics (the other one is MiniLyrics that need a separate piece of software installed to work with MusicBee) I was wondering whether Musixmatch API allows to extract synced lyrics in addition to the unsynced ones. Do you have any idea about it? Enabling downloading synced lyrics would be a killer feature!
Title: Re: LyricsReloaded
Post by: phred on December 28, 2015, 03:24:45 PM
This plugin is no longer being supported by the original developer.  He said that if anyone wanted to take it over they were welcome to it, but as far as I can tell, that hasn't happened.
Title: Re: LyricsReloaded
Post by: MikeOxlittle on January 22, 2016, 12:29:12 AM
Hey all,

Joined to ask if anyone knows of a way to set a hotkey to auto update the lyrics?

In the hotkeys menu I see in the Tools section that there are options for tags/pictures but unfortunately can't find anything for lyrics.

I'm still using 2.5 atm as well.

Thanks for any help.
Title: Re: LyricsReloaded
Post by: phred on January 22, 2016, 12:49:35 AM
Joined to ask if anyone knows of a way to set a hotkey to auto update the lyrics?
In the hotkeys menu I see in the Tools section that there are options for tags/pictures but unfortunately can't find anything for lyrics.
That doesn't exist.  And this plugin is no longer being supported by the developer.  Although new provider configurations are being posted periodically.
You can post a wishlist request in the wishlist sub-forum, but that doesn't guarantee Steven will add it. 
Title: Re: LyricsReloaded
Post by: quick_wango on January 23, 2016, 05:39:03 PM
If the plugin does not work on MusicBee 3 and there is enough interest I could port it over
Title: Re: LyricsReloaded
Post by: Alumni on January 24, 2016, 04:45:45 AM
If the plugin does not work on MusicBee 3 and there is enough interest I could port it over

I can confirm the plugin is still working in MusicBee v3. That being said, I'd appreciate any further development on the plugin.
Title: Re: LyricsReloaded
Post by: Boile on January 24, 2016, 06:11:09 AM
+1
Thanks!
Title: Re: LyricsReloaded
Post by: quick_wango on January 25, 2016, 10:37:12 AM
That's only an option if MusicBee can run under Linux using Wine and Mono. Has anyone tried that before?
Title: Re: LyricsReloaded
Post by: Alumni on January 25, 2016, 11:22:47 AM
That's only an option if MusicBee can run under Linux using Wine and Mono. Has anyone tried that before?

This thread may help: http://getmusicbee.com/forum/index.php?topic=17074.0
Title: Re: LyricsReloaded
Post by: SandyRavage on January 31, 2016, 07:12:21 AM
Any idea what might be causing this to happen with the plug-in when fetching lyrics?

It'll happen on certain songs only.  Or when grabbing an entire albums worth of lyrics the 1st track will usually be ok then the remaining tracks will all have it happen.

(http://i.imgur.com/Zo0S5Lm.jpg)
Title: Re: LyricsReloaded
Post by: quick_wango on January 31, 2016, 10:45:40 PM
Seems like the website is injecting some additional code after the initial request and the lyrics extraction regex is not prepared for that.
Title: Re: LyricsReloaded
Post by: nokitron on February 01, 2016, 01:14:29 AM
Firstly I want to thank quick_wango for making this possible, and emmaoninternet, too. You guys are the best!

But something happens to Genius and Musixmatch in all songs. For example, I play a certain song first. I fully know that the lyrics is available in both Genius or Musixmatch.

(http://i.imgur.com/IL5NhRM.png)

(http://i.imgur.com/5kz18Tk.png)

Here's the link to those page (which I took from the report log):
http://genius.com/Pianos-become-the-teeth-ripple-water-shine-lyrics
https://www.musixmatch.com/lyrics/Pianos-Become-the-Teeth/Ripple-Water-Shine

While it perfectly worked with default provider that quick_wango included, emmaoninternet's script apparently doesn't do its work. It certainly succeeds at fetching the link (because the link actually contains the lyrics like shown above), but in matter of downloading it, I am still not happen to be able to do it. I included the report log after this, in case you want to know.

01/02/2016 07:48:07 [DEBUG] Lyrics request:  - Pianos Become the Teeth - Ripple Water Shine - Keep You - Genius
01/02/2016 07:48:07 [INFO] Genius tries to load the lyrics...
01/02/2016 07:48:07 [DEBUG] The constructed URL: http://genius.com/pianos-become-the-teeth-ripple-water-shine-lyrics
01/02/2016 07:48:07 [DEBUG] Lyrics request:  - Pianos Become the Teeth - Ripple Water Shine - Keep You - Musixmatch
01/02/2016 07:48:07 [INFO] Musixmatch tries to load the lyrics...
01/02/2016 07:48:07 [DEBUG] The constructed URL: http://www.musixmatch.com/lyrics/pianos-become-the-teeth/ripple-water-shine
01/02/2016 07:48:07 [DEBUG] Lyrics request:  - Pianos Become the Teeth - Ripple Water Shine - Keep You - MetroLyrics
01/02/2016 07:48:07 [INFO] MetroLyrics tries to load the lyrics...
01/02/2016 07:48:07 [DEBUG] The constructed URL: http://www.metrolyrics.com/ripple-water-shine-lyrics-pianos-become-the-teeth.html
01/02/2016 07:48:09 [DEBUG] gzip compression detected
01/02/2016 07:48:10 [WARN] The pattern <div id="lyrics-body">(?<lyrics>.*?)</div> didn't match!
01/02/2016 07:48:10 [INFO] No lyrics found.
01/02/2016 07:48:10 [DEBUG] no lyrics found

It stuck to "tries to load the lyrics". I am sorry if I can't talk to one of you about regex or that kind of thing. Programming is not my best. Otherwise thank you.
Title: Re: LyricsReloaded
Post by: Moshi_ on February 07, 2016, 05:00:54 PM
Not working for me lately as well. This is the log:

Quote
07.02.2016 05:56:50 [DEBUG] Lyrics request:  - Rick Ross - Silk Road - Black Market - Genius
07.02.2016 05:56:50 [INFO] Genius tries to load the lyrics...
07.02.2016 05:56:50 [DEBUG] The constructed URL: http://genius.com/rick-ross-silk-road-lyrics
07.02.2016 05:56:50 [DEBUG] gzip compression detected
07.02.2016 05:56:50 [WARN] The pattern <div\s+class="lyrics"[^>]*?>(?<lyrics>.*?)</div> didn't match!
07.02.2016 05:56:50 [INFO] No lyrics found.
07.02.2016 05:56:50 [DEBUG] no lyrics found
Title: Re: LyricsReloaded
Post by: quick_wango on February 08, 2016, 11:08:27 PM
The problems are caused by the websites changing in structure. That's why I originally added a unit tests for all default providers, but I don't have the infrastructure to run them on a regular basis.
The patterns will have to be corrected.
Title: Re: LyricsReloaded
Post by: nogoya2002 on February 09, 2016, 03:47:26 PM
Thanks quick_wango
Title: Re: LyricsReloaded
Post by: Moshi_ on February 09, 2016, 07:18:14 PM
The problems are caused by the websites changing in structure. That's why I originally added a unit tests for all default providers, but I don't have the infrastructure to run them on a regular basis.
The patterns will have to be corrected.

I only understood that the problem is website changing its structure, lol.

Is this easy fix? Can I do it myself? Do it have to wait for someone to put out a fix?
Title: Re: LyricsReloaded
Post by: SandyRavage on February 19, 2016, 09:37:22 AM
Does anyone have an 'optimized' list of providers which should & should not be used and the priority order?  I'm wondering if I'd get better/faster results than just using the default list.
Title: Re: LyricsReloaded
Post by: Alumni on February 19, 2016, 01:04:22 PM
Does anyone have an 'optimized' list of providers which should & should not be used and the priority order?  I'm wondering if I'd get better/faster results than just using the default list.

That depends on the kind of music you listen to. Personally I've got the following setup, with a pretty good success rate;

1. A-Z Lyrics Universe
2. Oldies Lyrics
3. ChartLyrics.com
Title: Re: LyricsReloaded
Post by: kassym123 on February 20, 2016, 06:00:06 PM
Hi, I had a question related to the recent posts about Genius not working. Might be totally off, but is there a way to at least make the built-in browser open the generated URL?

Absolutely not sure how any this works, and unfortunately I can't find time to figure out the APIs.
Title: Re: LyricsReloaded
Post by: kassym123 on February 27, 2016, 01:39:11 PM
Oh, thanks a lot! :)
Title: Re: LyricsReloaded
Post by: Moshi_ on March 12, 2016, 08:59:41 PM
So no fix for this?
Title: Re: LyricsReloaded
Post by: rblanca on March 30, 2016, 03:05:39 AM
It seems it isn't :S
Title: Re: LyricsReloaded
Post by: phred on March 30, 2016, 03:12:41 AM
This plugin is no longer being supported by the original developer.  If someone wants to take over maintaining and developing it, contact the developer.
Title: Re: LyricsReloaded
Post by: frediDarpon on April 06, 2016, 08:31:18 AM
Hi everybody,
i'm a new user of musicBee and i'm an software dev.
i've the 2.5v of musicBee
I've edit the genius.com.yml with the new structure and it's work now :
the code of the genius.com.yml :
 
""*********************************************************
name: Genius

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [regex, '[^\sa-z0-9]\s*', ""]
        - [strip_nonascii, -]

    title:
        type: title
        filters: artist

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
#The new patttern for genius.com
    pattern: ['<div\s+class="song_body-lyrics"[^>]*?>(?<lyrics>.*?)</lyrics>', s]
   
post-filters:
- strip_html
- clean_spaces
- utf8_encode

""********************************************************************

create a new file in <user>/appData/musicBee/provider/genius.com.xml  and copy the code
Title: Re: LyricsReloaded
Post by: Moshi_ on April 06, 2016, 07:34:07 PM
IT'S WORKING!!!! THANK YOU frediDarpon!!!!!

Working flawlessly on v3!!! Oh thank god!!! Thank you million times!!!!
Title: Re: LyricsReloaded
Post by: Boile on April 09, 2016, 07:13:16 AM
Hi!
Is this Path <user>/appData/musicBee/provider/genius.com.xml" correct? "
Not "<user>/appData/roaming/musicBee/mb_LyricsReloaded/providers/genius.com.yml" ?
Thanks
Title: Re: LyricsReloaded
Post by: 5moufl on April 09, 2016, 10:46:36 AM
C:\Users\yourname\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\genius.com.yml is usually the correct path.
Title: Re: LyricsReloaded
Post by: Xenatier on April 10, 2016, 06:07:03 AM
Thanks for the updated genius version. Is there any way to stop it saying "song name's lyrics" at the top?
Title: Re: LyricsReloaded
Post by: LostFuzz on April 10, 2016, 02:39:46 PM
Thanks for the updated genius version. Is there any way to stop it saying "song name's lyrics" at the top?

My regex knowledge is next to nonexistent, but the following might work.

Place the file in <MusicBee's appdata folder>/mb_LyricsReloaded/providers/ folder (the folder already exists if the plugin is enabled)
Code: genius.com.yml
name: "Genius"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]    # !!! (Chk Chk Chk) artist exception
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '\s&(?=\s)', " and"]          # Replace " &" with " and"
                                                    ## ^ Currently superfluous (for ARTIST) bc plugin preemptively replaces "&" with "and"
                                                        ### ^ But still necessary for <title> "&" replacement
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]   # Strip "." + "," + beginning/end of string non-word chars
        - [regex, "'", ""]                      # Separate expression bc of annoying way YAML escapes '
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" e.g., f**k > f-k
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric chars before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### ^ EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters: artist

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div\s+class="song_body-lyrics"[^>]*?>[\s\S]*?<p>(?<lyrics>[\s\S]*?)</p>', s]

post-filters:
- strip_html
- clean_spaces
- utf8_encode
Title: Re: LyricsReloaded
Post by: phred on April 10, 2016, 10:18:59 PM
@LostFuzz- thanks for making the attempt to get rid of downloading the song title at the top of the downloaded lyrics.  I have to report that there's good news and bad news.
The good news is that the song title is definitely gone when downloading the lyrics.  The bad news is that the first line of the lyrics is also gone. 

My regex is even less than yours otherwise I would make an attempt at correcting this.  I'm wondering if you can figure out how to fix it?

Thanks.
Title: Re: LyricsReloaded
Post by: LostFuzz on April 11, 2016, 12:38:23 AM
@LostFuzz- thanks for making the attempt to get rid of downloading the song title at the top of the downloaded lyrics.  I have to report that there's good news and bad news.
The good news is that the song title is definitely gone when downloading the lyrics.  The bad news is that the first line of the lyrics is also gone. 

My regex is even less than yours otherwise I would make an attempt at correcting this.  I'm wondering if you can figure out how to fix it?

Thanks.

you were right, its such a stupid mistake i made also, when i was looking at the site's source i've been awake for around 24-26hr and the lyrics i was looking at started with the song title, so i had the first line removed thinking it was another added song title in the lyrics section...

lol anyways i've edited my post above it should be fixed
Title: Re: LyricsReloaded
Post by: phred on April 11, 2016, 01:37:22 AM
lol anyways i've edited my post above it should be fixed
Looking much better now.  Of the 60 tracks I just did a lyrics search on, only one returned with the title still there.  Not a problem as one is much easier to edit than 60.

Thanks very much for updating and fixing this.
Title: Re: LyricsReloaded
Post by: Alumni on April 11, 2016, 03:04:07 AM
A-Z Lyrics doesn't seem to work for me anymore. Can anyone else confirm?
Title: Re: LyricsReloaded
Post by: LostFuzz on April 11, 2016, 03:33:10 AM
A-Z Lyrics doesn't seem to work for me anymore. Can anyone else confirm?

looks like they changed the page source, so the plugin can't find the lyrics.  You can try the below and see if it works again.

---

Create a file called "azlyrics.com.yml" (without the quotations), edit the file with a text editor and copy & past the below code to the file and save. Place the file in the directory <MusicBee's appdata folder>/mb_LyricsReloaded/providers/ (the folder already exists if the plugin is enabled)
Code: azlyrics.com.yml
name: A-Z Lyrics Universe

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

headers:
    User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0' # Firefox 30 Win x64 user agent

config:
    url: "http://www.azlyrics.com/lyrics/{artist}/{title}.html"
    pattern: ['<!-- Usage of azlyrics.com.*?-->(?<lyrics>.+?)</div>', s]
   
post-filters:
- strip_html
- trim
- utf8_encode
Title: Re: LyricsReloaded
Post by: Alumni on April 11, 2016, 04:51:48 AM
looks like they changed the page source, so the plugin can't find the lyrics.  You can try the below and see if it works again.

I reckon that did the trick. Thanks very much, I'm most grateful!
Title: Re: LyricsReloaded
Post by: Xenatier on April 11, 2016, 10:55:41 AM
Thank you so much!
Title: Re: LyricsReloaded
Post by: Moshi_ on April 11, 2016, 12:18:17 PM
So many helpful people here. Thank you all!
Title: Re: LyricsReloaded
Post by: Ankush on July 05, 2016, 08:08:25 AM
You Have nice collection but i find one more website which provide Hindi Songs Lyrics. Site nale is Lyricsion.com and link is http://lyricsion.com/. This is very user friendly website. Every artist/singer, album/movie and lyrics linked up. You can also mention this site.
Title: Re: LyricsReloaded
Post by: masemune on July 19, 2016, 05:53:32 AM
Hello my friends.

I have a question. How can I add a url to the lyrics website? I want it to check lyrics from certain websites that are not listed.

I only know very very very basic c++ coding. Can you help me or put me in the right path?

Is it as simple as adding the website URLs to the current list?
Title: Re: LyricsReloaded
Post by: renata47 on August 13, 2016, 05:20:11 PM
Lyrics English -Portuguese
www.letras10.com (http://www.letras10.com)
Title: Re: LyricsReloaded
Post by: Moshi_ on August 25, 2016, 08:03:26 PM
Can someone please fix google nonsense that appears when getting lyrics from genius.com for every song that l own:


(http://i.imgur.com/dUqAsFi.jpg)


http://genius.com/Vince-staples-dopeman-lyrics

Thank you!
Title: Re: LyricsReloaded
Post by: MusicalBee on September 04, 2016, 03:27:08 PM
@quick_wango;

Thanks for offering this great plugin!
Just a suggestion. Maybe you could consider, as you said you can't maintain this plugin any longer, recompiling it so that no provider is preloaded and every provider should be supplied through a yml file in provider folder by the user. The benefits would be:

- People can only load providers they want to use (currently too many unused preloaded providers)
- Easy to fix when one of the preloaded provides no longer works (currently too many broken preloaded providers)
- Easy to find help when a fix is needed because the helper would only need to fix the problem provider
- Hence no need to find a dedicated dev to keep this working

Great suggestion!

But since we have no answer from quick_wango, maybe Steven can take over this project. I also really think this little project could take off with his official involvement in this plugin.
Title: Re: LyricsReloaded
Post by: boroda on September 04, 2016, 04:28:36 PM
i'm afraid Steven doesn't have enough time to support any plugin for a long time (even if plugin had been written by himself).
Title: Re: LyricsReloaded
Post by: MusicalBee on September 05, 2016, 04:23:35 PM
The beauty of this plugin is that there is really no need to maintain it, just implement redwing's suggestion. Then the community can take care of the lyrics providers.
Title: Re: LyricsReloaded
Post by: Xenatier on September 11, 2016, 07:47:47 AM
Can someone please fix google nonsense that appears when getting lyrics from genius.com for every song that l own:


(http://i.imgur.com/dUqAsFi.jpg)


http://genius.com/Vince-staples-dopeman-lyrics

Thank you!

Seconded.
Title: Re: LyricsReloaded
Post by: Freegells on September 11, 2016, 08:21:03 AM
Following in LostFuzz's footsteps, I decided to fix another provider, this time Letras de músicas (letras.mus.br). The instructions are the same as those other files, i.e., go to %AppData%\MusicBee\mb_LyricsReloaded\providers folder, create a file named letras.mus.br.yml, open it with Notepad or another plain text editor and paste the following code:

Code: letras.mus.br
name: "Letras de músicas"

variables:
    artist:
        type: artist
        filters:
        - lowercase
        - strip_diacritics
        - [replace, '.', '']
        - [strip_nonascii, -]
    title:
        type: title
        filters: artist

config:
    url: "https://letras.mus.br/{artist}/{title}/"
    pattern: ['<article>(?<lyrics>.+?)</article>', s]
    
post-filters:
- [replace, '</p>', '<br><br>']
- br2nl
- strip_html
- clean_spaces
- utf8_encode
Seems to work fine with most names with Portuguese diacritics. I've added an extra pre-filter to check for names with full stops (e.g. "Charlie Brown Jr."). I've also used the replace filter instead of the p2break available in the extension because it didn't seem to work as intended, leaving all lyrics with no paragraph separation.
Title: Re: LyricsReloaded
Post by: phred on September 13, 2016, 08:45:04 PM
Try adding the following line to the end of the code for genius.com:

Code
- [regex, 'googletag.*\);', "\n"]
@redwing- should that line go at the -very- end of the code (under 'post-filters') or at the end of the variables  section?

Thanks.
Title: Re: LyricsReloaded
Post by: Moshi_ on September 14, 2016, 12:42:19 PM
at the -very- end of the code (under 'post-filters')



This worked for me.

Thanks redwing!
Title: Re: LyricsReloaded
Post by: phred on September 14, 2016, 12:56:47 PM
at the -very- end of the code (under 'post-filters')



This worked for me.

Thanks redwing!
Thanks Moshi_
Title: Re: LyricsReloaded
Post by: Leslio7 on September 17, 2016, 07:55:08 PM
Hi, I have updated MusicBee to version 3.0.6067 and the plugin doesn't find the .yml files anymore. In the previous MusicBee version it worked perfectly. I wonder if I'm the only one with this problem.  :'(
Title: Re: LyricsReloaded
Post by: phred on September 17, 2016, 10:20:55 PM
While the plugin's DLL goes in MB's plugin folder, the providers folder belongs in the AppData folder under the MB folder. So your folder structure should look like this:

\MusicBee
   \Plugins
      mb_LyricsReloaded.dll

\MusicBee
   \AppData
      \mb_LyricsReloaded
         \Providers
            *.yml
Title: Re: LyricsReloaded
Post by: Leslio7 on September 18, 2016, 07:08:45 AM
While the plugin's DLL goes in MB's plugin folder, the providers folder belongs in the AppData folder under the MB folder. So your folder structure should look like this:

\MusicBee
   \Plugins
      mb_LyricsReloaded.dll

\MusicBee
   \AppData
      \mb_LyricsReloaded
         \Providers
            *.yml
The plugin is in the correct path because MusicBee can find it.
And genius.com.yml is in the correct path because I triple checked it. I would like to know if there's anyone using MusicBee 3.0.6067 that has plugin finding the *.yml files.
Title: Re: LyricsReloaded
Post by: Steven on September 18, 2016, 07:45:24 AM
Hi, I have updated MusicBee to version 3.0.6067 and the plugin doesn't find the .yml files anymore. In the previous MusicBee version it worked perfectly. I wonder if I'm the only one with this problem.  :'(
you are the only person who has reported this so my guess is you have installed and are running the new musicbee version from a different location
Title: Re: LyricsReloaded
Post by: Leslio7 on September 18, 2016, 10:20:55 AM
Hi, I have updated MusicBee to version 3.0.6067 and the plugin doesn't find the .yml files anymore. In the previous MusicBee version it worked perfectly. I wonder if I'm the only one with this problem.  :'(
you are the only person who has reported this so my guess is you have installed and are running the new musicbee version from a different location
I'm running MusicBee from Mozambique, is there something I can do to solve this issue?
Title: Re: LyricsReloaded
Post by: Steven on September 18, 2016, 10:24:26 AM
Hi, I have updated MusicBee to version 3.0.6067 and the plugin doesn't find the .yml files anymore. In the previous MusicBee version it worked perfectly. I wonder if I'm the only one with this problem.  :'(
you are the only person who has reported this so my guess is you have installed and are running the new musicbee version from a different location
I'm running MusicBee from Mozambique, is there something I can do to resolve this issue?
location on your computer ie. you have two installed instances of musicbee
Title: Re: LyricsReloaded
Post by: Leslio7 on September 18, 2016, 10:38:30 AM
Hi, I have updated MusicBee to version 3.0.6067 and the plugin doesn't find the .yml files anymore. In the previous MusicBee version it worked perfectly. I wonder if I'm the only one with this problem.  :'(
you are the only person who has reported this so my guess is you have installed and are running the new musicbee version from a different location
I'm running MusicBee from Mozambique, is there something I can do to resolve this issue?
location on your computer ie. you have two installed instances of musicbee
Okay, I will completely uninstall MusicBee and then reinstall it again. I hope it works. Is there a way to save my current settings? Mostly regarding my UI changes.
Title: Re: LyricsReloaded
Post by: Steven on September 18, 2016, 11:57:16 AM
you dont need to reinstall. You just need to find the (new) location you are actually running musicbee from and configure the plugin in that directory
Title: Re: LyricsReloaded
Post by: Leslio7 on September 18, 2016, 07:15:11 PM
you dont need to reinstall. You just need to find the (new) location you are actually running musicbee from and configure the plugin in that directory
I think you are right, because I reinstalled MusicBee and plugin still doesn't work. But how can I find the (new) location?
These are my current locations:
C:\Program Files (x86)\MusicBee\Plugins\mb_LyricsReloaded.dll     :This one seems to be working because MusicBee successfully found the plugin.
C:\Users\Leslio7\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\genius.com.yml    :This is the one that's been acting strange, because the when I enabled the plugin the \mb_LyricsReloaded\providers\ folders were automatically created, but the *.yml files are not appearing in Tags (2) as lyrics providers.
Title: Re: LyricsReloaded
Post by: Leslio7 on September 23, 2016, 05:00:07 PM
Help> Support> Settings File shows the location of your running MB's AppData folder.

Then go to the folder and find this plugin's folder within it.

Make sure the provider file is placed properly. Also check the log file (mb_LyricsReloaded.log) to see what happens when you search lyrics.
Thanks, I followed your instructions. The location is fine. Then I checked the log file and found this:
23/09/2016 05:55:54 [DEBUG] Loading config from file: C:\Users\Leslio7\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers\genius.com.yml
23/09/2016 05:55:54 [ERROR] Failed to load a configuration:
23/09/2016 05:55:54 [ERROR] (Lin: 7, Col: 0, Chr: 111) - (Lin: 7, Col: 0, Chr: 111): While scanning a simple key, could not find expected ':'.
23/09/2016 05:55:54 [ERROR] YamlDotNet.Core.SyntaxErrorException: (Lin: 7, Col: 0, Chr: 111) - (Lin: 7, Col: 0, Chr: 111): While scanning a simple key, could not find expected ':'.
   at YamlDotNet.Core.Scanner.StaleSimpleKeys()
   at YamlDotNet.Core.Scanner.FetchMoreTokens()
   at YamlDotNet.Core.Scanner.InternalMoveNext()
   at YamlDotNet.Core.Parser.GetCurrentToken()
   at YamlDotNet.Core.Parser.ParseBlockMappingValue()
   at YamlDotNet.Core.Parser.StateMachine()
   at YamlDotNet.Core.Parser.MoveNext()
   at YamlDotNet.Core.EventReader.Allow[T]()
   at YamlDotNet.Core.EventReader.Expect[T]()
   at YamlDotNet.RepresentationModel.YamlScalarNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlMappingNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlDocument..ctor(EventReader events)
   at YamlDotNet.RepresentationModel.YamlStream.Load(TextReader input)
   at CubeIsland.LyricsReloaded.Provider.ProviderManager.loadProvider(TextReader configReader)
Title: Re: LyricsReloaded
Post by: Leslio7 on September 23, 2016, 09:38:09 PM
Looks like your yml file has an syntax error. Do you have just "filters" instead of "filters:" in line 7?
Make sure you have copied the content correctly from previous posts.
This is what I have at line 7 and around it:
Screenshot link (https://www.dropbox.com/s/4ier6aen5js61d7/Sketch.png?dl=0)
The code seems to be okay.
Title: Re: LyricsReloaded
Post by: Leslio7 on September 24, 2016, 06:18:06 PM
Thank you Steven and redwing!
Thanks to you I managed to track down the problem. My browser was the problem. I don't exactly know what it was doing to the code but when I used Chrome to copy the code, the problem disappeared.
Title: Re: LyricsReloaded
Post by: Alumni on September 28, 2016, 02:31:38 AM
I have a problem with A-Z lyrics using the code provided in this post: http://getmusicbee.com/forum/index.php?topic=9994.msg109134#msg109134
These lyrics do display normally in MusicBee's now playing, but when I run the script to download and embed lyrics in the files they lose all line and paragraph breaks, in other words they are shown as a wall of text. Any ideas how to solve this?
Title: Re: LyricsReloaded
Post by: Alumni on September 28, 2016, 06:24:08 AM
Working fine for me. Does it happen only to some specific songs?

It seems to affect all songs from that provider.

What do you mean by that? How do you run the script?

By selecting "tagging tools" (or right click context menu) -> "auto tag by track" -> "update missing lyrics".

Maybe these screenshots will help explain; the first image is the lyrics reloaded plugin displaying in MusicBee, the second image is examining the files in mp3tag after MusicBee has batch embedded the lyrics.

(http://i.imgur.com/5QjAfEzb.jpg) (http://i.imgur.com/5QjAfEz.jpg) (http://i.imgur.com/aXrRUkVb.jpg) (http://i.imgur.com/aXrRUkV.jpg)
Title: Re: LyricsReloaded
Post by: Alumni on September 28, 2016, 09:06:32 AM
I wouldn't recommend that. Sometimes that command fetches from the existing lyrics cache file instead of from the providers.
I am always using lyrics panel and either auto-embed by playing the track or use "Delete lyrics and redo search" command.  

That's good to know, although for me it is managing to fetch lyrics correctly.

Probably that's an issue with how Mp3tag displays the field. You can verify the presence of line-breaks by copying and pasting the lyrics from the mp3tag tag info window to Notepad++.

If I copy and paste lyrics from the webpage manually it is saved with the line/paragraph breaks intact. I suspect MusicBee is saving lyrics in such a way that is not universally compatible with other applications. The good news is that it does still display normally in MusicBee when reading from the tags, I'm just trying to understand this inconsistency with formatting.
Title: Re: LyricsReloaded
Post by: Alumni on September 28, 2016, 01:54:35 PM
I don't see any issue here with MB except that Mp3tag doesn't display the format correctly. Why don't you ask Mp3tag forum?

Good idea, and thanks to your suggestion I found this thread which gave me a solution: https://forums.mp3tag.de/index.php?showtopic=19051
Title: Re: LyricsReloaded
Post by: LazR on October 06, 2016, 12:51:12 AM
The Genius .yml is working but adding the 'googletag.cmd.push.....' in the middle of lyrics. I'll just link the two .yml files I am using for Genius if you could help me fix that it would be amazing. It also shows '<!--/sse-->' in the beginning and end but that is fine not as annoying.

(https://i.gyazo.com/0690b092d56721d98b78caa8ca09599d.png)

Genius .yml -- https://mega.nz/#!qJpGzZ4Y!HTJ-WPV4vsntft5H2zPuE0Jf2xHL1HkIxKtKA1L9XhE
2nd Genius .yml -- https://mega.nz/#!rEY2jIZB!WHTGlzA-8r-AH_-VV3nnfeJEBUzZXbSXpG8U9entgaE

If you know how to fix the 'googletag.cmd.push...' randomly showing up or the '<!--/sse-->' please respond back!

Thanks, Matthew / LazR
Title: Re: LyricsReloaded
Post by: phred on October 06, 2016, 01:06:41 AM
If you know how to fix the 'googletag.cmd.push...' randomly showing up or the '<!--/sse-->' please respond back!

The solution is two pages back
http://getmusicbee.com/forum/index.php?topic=9994.msg117556#msg117556
Title: Re: LyricsReloaded
Post by: LazR on October 06, 2016, 02:08:11 AM
If you know how to fix the 'googletag.cmd.push...' randomly showing up or the '<!--/sse-->' please respond back!

The solution is two pages back
http://getmusicbee.com/forum/index.php?topic=9994.msg117556#msg117556

Thank you! Sorry just added a space between the regex for googletag and post-filters end. Works Beautifully!
Title: Re: LyricsReloaded
Post by: offroad on October 26, 2016, 11:32:35 AM
Is this discussion because lyrics needs to be tweaked to work optimal in MUSICBEE?  I have previously used a third party software to embed lyrics in the MP3 music that always works fine.  Called MEDIA LYRICS FINDER 1.4 by the MEDIAHUMAN company and free.  Just in case anyone wants an alternative.
Title: Re: LyricsReloaded
Post by: rblanca on October 27, 2016, 04:48:24 AM
would be great if someone can do a new release with all this lastest fixes-improvements
Title: Re: LyricsReloaded
Post by: spankmaster79 on November 17, 2016, 10:11:20 AM
I've added the regex for the <!-- sse --> comments begin and end tag  :-X

Code
- [regex, '\<\!--sse--\>', ""]
- [regex, '\<\!--\/sse--\>', ""]

This will remove them
Title: Re: LyricsReloaded
Post by: unrealbe on November 21, 2016, 11:08:00 AM
I just found out about this plugin but its not working yet for me. I placed in in the plugins folder but I cannot configure it:
clicking configure does nothing in preferences -> plugins.
also: \AppData\Roaming\MusicBee\mb_LyricsReloaded\providers is empty.

Any help?
all i want is to use darklyrics
Title: Re: LyricsReloaded
Post by: bradmmm on November 22, 2016, 02:18:16 PM
Quote
I just found out about this plugin but its not working yet for me. I placed in in the plugins folder but I cannot configure it:
clicking configure does nothing in preferences -> plugins.
also: \AppData\Roaming\MusicBee\mb_LyricsReloaded\providers is empty.

Any help?
all i want is to use darklyrics

I'm having the same issue as this guy. Just discovered MusicBee and I love it! Was getting sick of Foobar2000 after many years.

The lyrics are the only issue I'm having!
Title: Re: LyricsReloaded
Post by: verios29 on February 05, 2017, 02:33:35 AM
Hey, i just downloaded musicbee (v. 3.0.6244) and was looking for a way to fill the lyrics within each track, anyway i found this thread and installed the plugin which is working ok. But i am having some trouble when trying to add the providers at "\AppData\Roaming\MusicBee\mb_LyricsReloaded", the thing is that the plugin isn't recognising any .txt file ".yml" i add in the folder, it doesn't appear in the list of providers in preference's Tags (2). Could you tell me in which codification should i save the .txt files that contains the .yml codes? I noticed i've been saving them in ANSI, but then i tried with UTF-8, unicode and didn't work either. That's the only reason i could think of why it's not working, please help. I almost read the whole thread and saw you mods are very committed, i rly apreciate it, keep it up. sorry for my bad english
Title: Re: LyricsReloaded
Post by: phred on February 05, 2017, 02:44:01 AM
"\AppData\Roaming\MusicBee\mb_LyricsReloaded"
Are you putting the .yml file here?
If so, I think that's your problem. The .yml files go in a subfolder called 'providers'
\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers

And ANSI should work as that's the way mine are encoded.
Title: Re: LyricsReloaded
Post by: verios29 on February 06, 2017, 01:45:43 AM
"\AppData\Roaming\MusicBee\mb_LyricsReloaded"
Are you putting the .yml file here?
If so, I think that's your problem. The .yml files go in a subfolder called 'providers'
\AppData\Roaming\MusicBee\mb_LyricsReloaded\providers

And ANSI should work as that's the way mine are encoded.

Sorry I wrote that wrong, i'm actually saving those .yml on the /providers/ folder. But the plugin fails to recognise them or smthing, it appears nothing on the log .txt, what should i do?
Title: Re: LyricsReloaded
Post by: bramnet on February 25, 2017, 03:47:08 AM
Is anyone planning to do more with this? I'm hopeful that musixmatch will be added to the list one of these days.
Title: Re: LyricsReloaded
Post by: nokitron on March 21, 2017, 03:16:14 PM
Is it just me or the plugin doesn't often work? Like every time it doesn't fetch the lyrics. I have ver. 3.0.6067 btw

Edit: I added the log and when it should've fetched the "gzip compression", most of the providers didn't even past that phase. Here you go

Quote
21/03/2017 10:19:45 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - Musixmatch
21/03/2017 10:19:45 [INFO] Musixmatch tries to load the lyrics...
21/03/2017 10:19:45 [DEBUG] The constructed URL: http://www.musixmatch.com/lyrics/jesu-and-sun-kil-moon/beautiful-you
21/03/2017 10:19:45 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - A-Z Lyrics Universe
21/03/2017 10:19:45 [INFO] A-Z Lyrics Universe tries to load the lyrics...
21/03/2017 10:19:45 [DEBUG] The constructed URL: http://www.azlyrics.com/lyrics/jesuandsunkilmoon/beautifulyou.html
21/03/2017 10:19:45 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - Rap Genius
21/03/2017 10:19:45 [INFO] Rap Genius tries to load the lyrics...
21/03/2017 10:19:45 [DEBUG] The constructed URL: http://rapgenius.com/jesu-and-sun-kil-moon-beautiful-you-lyrics
21/03/2017 10:19:45 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - MetroLyrics
21/03/2017 10:19:45 [INFO] MetroLyrics tries to load the lyrics...
21/03/2017 10:19:45 [DEBUG] The constructed URL: http://www.metrolyrics.com/beautiful-you-lyrics-jesu-and-sun-kil-moon.html
21/03/2017 10:19:45 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - LyricWiki
21/03/2017 10:19:45 [INFO] LyricWiki tries to load the lyrics...
21/03/2017 10:19:45 [DEBUG] The constructed URL: http://lyrics.wikia.com/Jesu_and_Sun_Kil_Moon:Beautiful_You
21/03/2017 10:20:29 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - Genius
21/03/2017 10:20:29 [INFO] Genius tries to load the lyrics...
21/03/2017 10:20:29 [DEBUG] The constructed URL: http://genius.com/jesu-and-sun-kil-moon-beautiful-you-lyrics
21/03/2017 10:20:29 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - Musixmatch
21/03/2017 10:20:29 [INFO] Musixmatch tries to load the lyrics...
21/03/2017 10:20:29 [DEBUG] The constructed URL: http://www.musixmatch.com/lyrics/jesu-and-sun-kil-moon/beautiful-you
21/03/2017 10:20:29 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - A-Z Lyrics Universe
21/03/2017 10:20:29 [INFO] A-Z Lyrics Universe tries to load the lyrics...
21/03/2017 10:20:29 [DEBUG] The constructed URL: http://www.azlyrics.com/lyrics/jesuandsunkilmoon/beautifulyou.html
21/03/2017 10:20:29 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - Rap Genius
21/03/2017 10:20:29 [INFO] Rap Genius tries to load the lyrics...
21/03/2017 10:20:29 [DEBUG] The constructed URL: http://rapgenius.com/jesu-and-sun-kil-moon-beautiful-you-lyrics
21/03/2017 10:20:29 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - MetroLyrics
21/03/2017 10:20:29 [INFO] MetroLyrics tries to load the lyrics...
21/03/2017 10:20:29 [DEBUG] The constructed URL: http://www.metrolyrics.com/beautiful-you-lyrics-jesu-and-sun-kil-moon.html
21/03/2017 10:20:29 [DEBUG] Lyrics request:  - Jesu and Sun Kil Moon - Beautiful You - Jesu / Sun Kil Moon - LyricWiki
21/03/2017 10:20:29 [INFO] LyricWiki tries to load the lyrics...
21/03/2017 10:20:29 [DEBUG] The constructed URL: http://lyrics.wikia.com/Jesu_and_Sun_Kil_Moon:Beautiful_You
Title: Re: LyricsReloaded
Post by: bradmmm on March 27, 2017, 03:33:38 PM
Hey, guys! This plugin is exactly what I'm after. I've been using MusicBee for about 3 months now and it's absolutely incredible. The only issue that I have is not having lyrics for half of my songs!

I've downloaded mb_LyricsRedloaded.dll and placed it in my plugins folder. I see the plugin when I go into plugins>preferences but that's about it. Pressing configure does nothing and I can't seem to find it anywhere to add to my player.

Am I missing something or just crazy? Any help would be much appreciated.

Thank you!
Title: Re: LyricsReloaded
Post by: phred on March 27, 2017, 05:25:31 PM
I can't seem to find it anywhere to add to my player.
Am I missing something or just crazy? Any help would be much appreciated.
Preferences > Tags (2) > auto-tagging > lyirics > click on the three dots [...] where you can select and re-order the lyrics providers to use.
Title: Re: LyricsReloaded
Post by: bradmmm on March 28, 2017, 12:12:13 AM
I can't seem to find it anywhere to add to my player.
Am I missing something or just crazy? Any help would be much appreciated.
Preferences > Tags (2) > auto-tagging > lyirics > click on the three dots [...] where you can select and re-order the lyrics providers to use.

Thanks! I guess it was working after all. Unfortunately there's still a bunch of songs without lyrics :(
Title: Re: LyricsReloaded
Post by: BeMax on June 26, 2017, 11:47:45 AM
You can also add to supported websites Lyricsmusic (http://lyricsmusic.name/), I have been using it for more than 5 years, very fast search.
Title: Re: LyricsReloaded
Post by: Tybot on July 07, 2017, 12:14:45 AM
Don't know if this been mentioned before but I just found out and thought I'd share it.

I've been having trouble with the lyrics since day 1, even with this plugin. On some of the most famous songs MusicBee claims there were no lyrics found, but if I do a google search the whole first page would be populated by 100% matches.

I just now went through the mb_LyricsReloaded.log file and found something interesting. The song I was trying to find lyrics for is Fleetwood Mac - Go Your Own Way and this is what the log file says:

07-07-2017 12:43:43 [DEBUG] Lyrics request:  - John McVie - Go Your Own Way - Rumours - MetroLyrics
07-07-2017 12:43:43 [DEBUG] Lyrics request:  - John McVie - Go Your Own Way - Rumours - LyricWiki Gracenote
07-07-2017 12:43:43 [INFO] MetroLyrics tries to load the lyrics...
07-07-2017 12:43:43 [DEBUG] The constructed URL: http://www.metrolyrics.com/go-your-own-way-lyrics-john-mcvie.html
07-07-2017 12:43:44 [INFO] LyricWiki Gracenote tries to load the lyrics...
07-07-2017 12:43:44 [DEBUG] The constructed URL: http://lyrics.wikia.com/Gracenote:John_McVie:Go_Your_Own_Way


As you can see the artist the plugin uses as the base of its search is not Fleetwood Mac but instead John McVie. This sounded familiar to me and I made the connection to another issue I came across just days ago, mentioned here: https://getmusicbee.com/forum/index.php?topic=22150.0

Conclusion: If your music files (those that uses VorbisComment) has the Artist and Performer tag populated with different names, the lyrics plugin will use whatever name's at the top of the list in the Tag Panel in MB as the base for its search, even if that name is of the guy clinking on the triangle. I haven't figured out why MB rearranges the list of performers like you see in the image below, but I believe Steven is working on it. I'm thinking it has something to do with the fact that the Performer tag is used for artist in MP3s while VorbisComment uses Artist for the artist and Performer for the instrument performers, but it's just speculation at this point. Solving this issue hopefully means that my problem mentioned in the above thread and the issue with the lyrics goes away.

https://picload.org/image/rplgociw/capture.jpg
Title: Re: LyricsReloaded
Post by: cptchi on August 11, 2017, 08:10:02 PM
Does anyone know if it's possible for this plugin to get lyrics from http://music.naver.com/?

Example of a release page: http://music.naver.com/album/index.nhn?albumId=2153150
Lyrics (가사) open in a pop-up and the example is this: http://music.naver.com/lyric/index.nhn?trackId=18685178

I'm not sure if it's doable since it's not a lyrics only website.
My korean songs give me the most work when it comes to getting lyrics automatically, that's why I'm looking for a source to add
Title: Re: LyricsReloaded
Post by: quick_wango on August 28, 2017, 10:35:31 PM
So I'm thinking about picking this up again, rewriting it from scratch for Linux support.
So this would be a standalone binary (e.g. lyricsreloaded.exe) which would then be called by the MusicBee plugin.
Title: Re: LyricsReloaded
Post by: verios29 on September 16, 2017, 06:38:03 PM
So I'm thinking about picking this up again, rewriting it from scratch for Linux support.
So this would be a standalone binary (e.g. lyricsreloaded.exe) which would then be called by the MusicBee plugin.
Yes! Please do, i truly think this the most important plugin out there, it would be great to give it an update
Title: Re: LyricsReloaded
Post by: quick_wango on October 02, 2017, 05:25:02 PM
So I have rewritten the whole thing in Go as a standalone binary.
It can be downloaded here: https://github.com/pschichtel/Lyrics2Go/releases/latest (lyrics2go.exe is the program, providers.zip is a zip with all the Yaml files from LyricsReloaded ported over to Lyrics2Go)

It has basically the same functionality compared to the plugin, but a few things are different:

- The configuration format changed slightly (mostly to ease parsing)
- Go uses a different regex engine (RE2) which has a few limitations, but nothing problematic
- Running the program will only use a single provider. In order to search with multiple providers you have to write a wrapper script currently (a bash script is provided in the sources)
- As of now there is no direct integration into MusicBee as I first have to figure out the proper way to do this.

Running the program is pretty simple on the command line:

Generally: lyrics2go.exe "path to provder yml" "variable name=variable value" ...
Example: lyrics2go.exe azlyrics.com.yml "artist=Name of Artist" "title=Name of the Song"


Going forward with new features and better support, I'll need more input from your side:
1. What are songs that you are still missing lyrics even though you know the page has them?
2. What other sites would you like to see supported that currently isn't?

For 1. it would be useful to have Artist, Album, Title and the Link to the lyrics on the site.
Title: Re: LyricsReloaded
Post by: iokoni on April 14, 2018, 09:00:24 PM
First of all, many thanks to quick_wango for writing this plug in, as well as redwing and emmaoninternet for contributing the code for fetching lyrics from Genius. Although they work wonders for me most of the time, save me hours of painstakingly copying and pasting lyrics, I notice an issue with the filters for artists that break the searching algorithm for me. I currently use this code from redwing

Code
name: "Genius"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]
        - [regex, "'", ""]
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
        - [regex, '\s&(?=\s)', " and"]
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]
        - [regex, "'", ""]
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
        - [strip_nonascii, -]

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div\s+class="song_body-lyrics"[^>]*?>[\s\S]*?<p>(?<lyrics>[\s\S]*?)</p>', s]

post-filters:
- strip_html
- clean_spaces
- utf8_encode
- [regex, 'googletag.*\);', "\n"]
- [regex, "’", "'"]


It may be different for others, but most of the albums that have multiple features I have are tagged under this format "Album artist, featuring artist 1, featuring artist 2, etc." The problem is that Genius only care about the album artist when constructing the url, hence having additional artists under artist tag may mess up the code. That is just my guest since I have no clue about coding language. However, from seeing that every songs with more than one artist fails to find lyrics when other songs work flawlessly, I assume that it must be missing a line of code that essentially tell the plugin/algorithm to ignore everything following the coma, which again I'm not sure if it's already included.

Can anyone help me write this line, it would be much appreciated.

Another thing, if it's at all possible, as pretty much any lyrics I can't find on Genius available at Musixmatch, could anyone revise this code of emmaoninternet on page 10.

Code
name: "Musixmatch"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "artist-46206"]      # !!! (Chk Chk Chk) artist exception
        - [replace, "+/-", "p%m"]               # +/- artist janky exception (step 1)
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '[’'']+', "%27"]              # URL encode "'/’" bc MM is cool w/ dat shit
        - [regex, '\s&\s(?=the)', " and "]      # ONLY if succeeded by "the", replace " & " with " and "
                                                    ## ^ Currently superfluous bc plugin preemptively replaces "&" with "and"
                                                        ### ^ So MM will choke if <artist> contains "& (?!the)"
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., M.I.A. > M-I-A.
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
                                                    ## ^ Long & stupid bc couldn't figure out YAML-friendly non-capturing "(?:...)"
                                                        ### EZ version: [regex, '\W+(?:\W)(?<!$)', " "]
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'/’" URL encoding after strip_nonascii
        - [regex, '(?<=^)p-m', "-"]             # Janky replace for artist +/- after strip_nonascii (step 2)
    title:
        type: title
        filters:                                # Not using identical artist filters due to different treatment of "&" in titles vs artist names
                                                # Musixmatch strips "&" from <title> ALWAYS; from <artist> too, *unless* "& the", then replaced with "and"
                                                    ## ^ see "&" treatment note above, under 'artist'
        - strip_diacritics
        - lowercase
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
                                                # ^ Strip F./ft/eat/uring + everything after
        - [regex, '[’'']+', "%27"]              # URL encode "'/’" bc MM is cool w/ dat shit
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
                                                # ^ Replace medial non-alphanumeric char(s) with single "-" (except "'") e.g., f**k > f-k
        - [regex, '\W+(?=$)', ""]               # Strip end-of-string non-word chars
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
                                                # ^ Clean up any remaining successive non-alphanumeric char(s) before strip_nonascii
        - [strip_nonascii, -]
        - [replace, "-27", "%27"]               # Fix "'/’" URL encoding after strip_nonascii

config:
    url: "http://www.musixmatch.com/lyrics/{artist}/{title}"
    pattern: ['<span\s+id="lyrics-html"[^>]*?>(?<lyrics>.*?)</span>', s]

post-filters:
- utf8_encode


As I understand it from the log bellows. The line  "pattern: ['<span\s+id="lyrics-html"[^>]*?>(?<lyrics>.*?)</span>', s]" needs to be fixed for the plug in to work with Musixmatch. I'd like to fix it but again I'm not well verse in coding language.

Code
13/04/2018 09:51:05 [DEBUG] Lyrics request:  - Weezer - Tired Of Sex - Pinkerton - Musixmatch
13/04/2018 09:51:05 [INFO] Musixmatch tries to load the lyrics...
13/04/2018 09:51:05 [DEBUG] The constructed URL: http://www.musixmatch.com/lyrics/weezer/tired-of-sex
13/04/2018 09:51:05 [DEBUG] gzip compression detected
13/04/2018 09:51:05 [WARN] The pattern <span\s+id="lyrics-html"[^>]*?>(?<lyrics>.*?)</span> didn't match!
13/04/2018 09:51:05 [INFO] No lyrics found.
13/04/2018 09:51:05 [DEBUG] no lyrics found
Title: Re: LyricsReloaded
Post by: iokoni on April 15, 2018, 06:24:46 AM
So what I suspect turns out to be true; and I indeed needs that line to ignore any character after the coma in Artist tag when filtering to reconstruct url.

I have a file formatted as:
Artist: Nas, Q-Tip
Album artist: Nas

When I remove out ", Q-Tip" part from Artist tag, lyrics loaded normally. Once I put it back and redid search for lyrics -> no lyrics found (the link http://genius.com/nas-q-tip-one-love-lyrics doesn't exist).

Code
15/04/2018 01:06:14 [DEBUG] Lyrics request:  - Nas - One Love - Illmatic - Genius
15/04/2018 01:06:14 [INFO] Genius tries to load the lyrics...
15/04/2018 01:06:14 [DEBUG] The constructed URL: http://genius.com/nas-one-love-lyrics
15/04/2018 01:06:15 [DEBUG] gzip compression detected
15/04/2018 01:06:15 [DEBUG] lyrics found
15/04/2018 01:06:24 [DEBUG] Lyrics request:  - Nas, Q-Tip - One Love - Illmatic - Genius
15/04/2018 01:06:24 [INFO] Genius tries to load the lyrics...
15/04/2018 01:06:24 [DEBUG] The constructed URL: http://genius.com/nas-q-tip-one-love-lyrics
15/04/2018 01:06:26 [DEBUG] Lyrics request:  - Nas, Q-Tip - One Love - Illmatic - Genius
15/04/2018 01:06:26 [INFO] Genius tries to load the lyrics...
15/04/2018 01:06:26 [DEBUG] The constructed URL: http://genius.com/nas-q-tip-one-love-lyrics

To test whether the plugin use Artist or Album Artist for searching. I retagged the file as below
Artist: (left blank)
Album artist: Nas
->Nothing appears in the lyrics box (even the no lyrics found line) + nothing appears when I clicked redo search either.

One last bit to make sure, I set the file like this:
Artist: Nas
Album artist: (left blank)
-> Everything works perfectly, lyrics found.

==> To sum up, the plugin takes Artist tag and don't care/can't take info from Album Artist tag.

Oh and my bad overlooking emmaoninternet's contribution. I'll edit my post.

The Musixmatch_updated works great, though it suffers the same issue with multiple artist tracks. Regardless, thank you for fixing it.
Title: Re: LyricsReloaded
Post by: iokoni on April 15, 2018, 08:36:05 PM
I'm using the format:
Quote
Artist: Nas, Q-Tip
Album artist: Nas
This is exactly what I was referring to, hope it clear up the confusion. Though to me I'm not sure what's the different between this (supposedly display artist as I understand it) and the "first artist value that you see inside multiple artist splitter dialog" that you said was used for the artist value for search.

(https://i.imgur.com/YCqGdhR.jpg)

Regarding the line of code you gave, I'm afraid I don't know how to "use the following code instead of the "feat" artist filter" - [regex, '(?=,).*',""]. Because when I replaced the line - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""] with it; I got this error in the plugin log:

Code
15/04/2018 03:06:02 [ERROR] (Lin: 9, Col: 0, Chr: 178) - (Lin: 9, Col: 0, Chr: 178): While scanning for the next token, find character that cannot start any token.
15/04/2018 03:06:02 [ERROR] YamlDotNet.Core.SyntaxErrorException: (Lin: 9, Col: 0, Chr: 178) - (Lin: 9, Col: 0, Chr: 178): While scanning for the next token, find character that cannot start any token.
   at YamlDotNet.Core.Scanner.FetchNextToken()
   at YamlDotNet.Core.Scanner.FetchMoreTokens()
   at YamlDotNet.Core.Scanner.InternalMoveNext()
   at YamlDotNet.Core.Parser.GetCurrentToken()
   at YamlDotNet.Core.Parser.ParseIndentlessSequenceEntry()
   at YamlDotNet.Core.Parser.StateMachine()
   at YamlDotNet.Core.Parser.MoveNext()
   at YamlDotNet.Core.EventReader.Allow[T]()
   at YamlDotNet.Core.EventReader.Expect[T]()
   at YamlDotNet.RepresentationModel.YamlScalarNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlSequenceNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlMappingNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlMappingNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlMappingNode..ctor(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlNode.ParseNode(EventReader events, DocumentLoadingState state)
   at YamlDotNet.RepresentationModel.YamlDocument..ctor(EventReader events)
   at YamlDotNet.RepresentationModel.YamlStream.Load(TextReader input)
   at CubeIsland.LyricsReloaded.Provider.ProviderManager.loadProvider(TextReader configReader)

When I just inserted bellow the line - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]; The plugin recognize the genius.com.yml file like normal but nothing changes in term of filtering characters after the coma, ie. still can't find lyrics because it generates url http://genius.com/nas-q-tip-one-love-lyrics instead of the correct one http://genius.com/nas-one-love-lyrics
Title: Re: LyricsReloaded
Post by: iokoni on April 15, 2018, 09:23:49 PM
Ok, I got the artist tags part, but as far as I can tell, all of my files have display value the same as tag artist. So if I don't want to reedit every files manually so it seperate artist and guest artist, I think my best bet is to have a working code line to filter out any name after the first coma.

Alright so here's the full code I'm using:

Code
name: "Genius"

variables:
    artist:
        type: artist
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]
- [regex, '(?=,).*',""]
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]
        - [regex, "'", ""]
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
        - [strip_nonascii, -]
    title:
        type: title
        filters:
        - strip_diacritics
        - lowercase
        - [replace, "!!!", "chk-chik-chick"]
        - [regex, '(?<=\W|\s)+(feat.+|ft[\W\s]+|(f\.\s)).+', ""]
        - [regex, '\s&(?=\s)', " and"]
        - [regex, '\.+|,+|(\W+(?=$))|(^\W+)', ""]
        - [regex, "'", ""]
        - [regex, '(?<=[a-z0-9%])[^\sa-z0-9%]+(?=[a-z0-9%]+)', "-"]
        - [regex, '((?<=\s)([^a-z0-9\s-])+(\s|\W)+)|((?<=\w)([^a-z0-9-])+(\s|\W)+)', " "]
        - [strip_nonascii, -]

config:
    url: "http://genius.com/{artist}-{title}-lyrics"
    pattern: ['<div\s+class="song_body-lyrics"[^>]*?>[\s\S]*?<p>(?<lyrics>[\s\S]*?)</p>', s]

post-filters:
- strip_html
- clean_spaces
- utf8_encode
- [regex, 'googletag.*\);', "\n"]
- [regex, "’", "'"]

I still can't get it to work, still not remove any. So if you don't mind, could you share the full code that you got working. Thanks
Title: Re: LyricsReloaded
Post by: iokoni on April 15, 2018, 10:20:42 PM
If you want to fix your tags in one shot, it's easy. Select tracks and run Tools> Tagging Tools> Search and replace command. Find "," for "Artist" Replace with";". Then those artist tags will be all separated to individual artist tags. And you won't need that code any longer.
oh yes, this is brilliant. Thank you so much! All my problems are now solved and I couldn't be happier :)
Title: Re: LyricsReloaded
Post by: iokoni on April 15, 2018, 11:50:45 PM
I'll look into it later, but I'm fine with everything is right now. Thank for the suggestion.
Title: Re: LyricsReloaded
Post by: Wormmy on April 19, 2018, 06:14:38 AM
So what's the 100% working script? Sorry, it's all scattered in this thread..
Title: Re: LyricsReloaded
Post by: Alumni on April 19, 2018, 08:08:56 AM
Here's the updated code for Musixmatch.com.

Thanks for this script redwing. How does Musixmatch compare to Genius in terms of fetching lyrics?
Title: mb_LyricsReloaded
Post by: gt55gt on April 22, 2018, 11:44:33 PM
MusicBee v3.1.6590.32668 (Win10.0), 23 Apr 2018 4:42:

System.NullReferenceException: Object reference not set to an instance of an object.
   at CubeIsland.LyricsReloaded.LyricsReloaded.shutdown()
   at CubeIsland.LyricsReloaded.LyricsReloaded.Finalize()



can anyone here help me to solve this problem??
Title: Re: LyricsReloaded
Post by: phred on April 23, 2018, 02:10:46 AM
@gt55gt- I moved your post to this sub-forum so the author of the plugin would see it.
Title: Re: LyricsReloaded
Post by: frankz on April 24, 2018, 01:13:43 AM
After a few months of C# study I think I'm to the point where I'm competent enough to poke around in someone else's code and do housekeeping on it.   Mostly as an experiment and to prove to myself that I could, I decided to download the source to this plugin since (as far as I know) it's not actively maintained anymore and in need of a little provider maintenance (last update was nearly 4 years ago!) to see what happened. Much to my surprise, I was able to do a couple of things to it and actually produce a working updated copy for my own personal use.  

Here's what I've done:

Embedded redwing's "musixmatch_updated" and "Genius" ymls as hard coded providers.  

Removed tekstowo_pl as a provider since the site doesn't seem to work (got Chrome message about endless redirects).

I did make one change to the Genius code: I added a post-filters line for [regex, '\[.{1,20}\]', ""].  This is to filter out things like [Pre-Chorus], [Verse], [Verse 2 female], etc.  I did this for three reasons:
1. Those aren't lyrics. I'm a big believer in lyrics panels only displaying actual lyrics.
2. They're not consistent with what any other providers furnish so you wind up getting different results based on source, which is ugly.
3. They're not even furnished by Genius in any consistent way or with regularity

Once I've used my new custom built version for a while and am confident it's not going to screw anything up (so far so good - it's pulling lyrics without errors) I'd be willing to do a cleanup / addition to be made public.   To do this I'd need some information:

1. A list of providers in there which aren't working any more
2. Links to code in this thread for providers which weren't initially included but have been added by users via YAML
3. Any generally agreed-upon YAML updates for the plug-in's existing providers
4. Someone to tell me what to do with it when I'm done

I hope I'm not stepping on toes here.  It'll be a looooong time before I'm able to actually update a plug-in's functionality (if ever) or (gulp) create one, but this seemed like a good way to get my feet wet in the plug-in world and expand my programming knowledge base beyond little console programs I can think up to do myself, which is what I've done in C# up until now.

 If anyone's interested, let me know.
Title: Re: LyricsReloaded
Post by: Alumni on April 24, 2018, 11:45:59 AM
If anyone's interested, let me know.

Just wanted to say that any efforts you make to maintain this plugin are appreciated.
Title: Re: LyricsReloaded
Post by: Wormmy on April 28, 2018, 02:59:33 AM
If anyone's interested, let me know.

Yes please! I'm willing to donate if it meets my expecs. :D
Title: Re: LyricsReloaded
Post by: frankz on April 28, 2018, 05:15:27 PM
Just wanted to say that any efforts you make to maintain this plugin are appreciated.
There's a learning curve here, but I'm working.

Yes please! I'm willing to donate if it meets my expecs. :D
No need for that.  :)  Can't promise big changes in functionality, only a little clean-up.

Anyway, I've got a working version that I think is ready for prime time.  Here's what I did.
1. Got rid of the "Configure" button that didn't do anything besides confuse a lot of people (me included) and added a message on the Plugins page about where to configure the plug-in.
2. Removed PinkRadio and Tesktowo because the sites don't appear to be functional any more
3. Added code from this thread for Genius (with the edit listed above), MusixMatch and Metrolyrics.  You won't need separate yml files for those any more.
4. Changed the description to something a little less confrontational sounding
5. Updated copyright to -2018, added myself as maintainer while retaining plugin's original author's credit, updated revision from 1.1.2 to 1.1.3

Questions:

1. I think lyrics.wikia, lyrics.wikia (Gracenote) are part of MB.  Do they need to be in the plug-in any more?
2. Did I miss any additions from the thread?
3. Did I miss any dead sites that should be removed?
4. What's the etiquette here: Should I contact OP for his blessing (he appears to have abandoned this plugin and moved on to a stand-alone program years ago) or just let it rip?
5. How do I get this to people?  I don't have a github or bitbucket set up.  It'd just be the dll.
Title: Re: LyricsReloaded
Post by: sveakul on May 07, 2018, 06:00:34 AM
Hi frankz, any news on the availability of your update of this plugin?  Much anticipated!!  As far as distribution, could you for now perhaps post it as a link to a Microsoft OneDrive, Google Drive, or similar download location for those of us who would like to try it as-is? :)
Title: Re: LyricsReloaded
Post by: frankz on May 07, 2018, 05:50:19 PM
Figured there was little interest since no one responded, so I just continued using it myself here.

One small change since above, I removed Metrolyrics since it didn't handle songs that don't have lyrics on that site very elegantly.

[DELETED BY FRANK]

(you can, of course, download the file and then upload it to VirusTotal.com yourself to verify)

Personally, I'd rename my current mb_LyricsReloaded.dll to something else and keep it for a while rather than overwrite it outright with this one.   It's working flawlessly here on my system with my MB version, but I can't speak to every MB version on every system.

Make sure MB is completely closed and put this new mb_LyricsReloaded.dll wherever your current mb_LyricsReloaded.dll file currently resides.  I believe the two places on desktop type installs are

 /%ProgramFiles%/MusicBee/Plugins
-or-
/%APPDATA%/Roaming/MusicBee/Plugins

(not %APPDATA%/Roaming/MusicBee/mb_LyricsReloaded/.  That's where the log file is.)

Don't know anything about the Windows Store version, so you're on your own there.  It shouldn't be different than replacing any other plugin.

Make sure you only have one copy referenced in MB.  The only problem I ever had with it was when I first put my version in the program files plugin folder while the original was in the roaming plugin folder.  MB complained about the log being in use already and crashed.  If you get this error, it likely means you already have the plugin running from somewhere else.

Consider the above version experimental and act accordingly.
Title: Re: LyricsReloaded
Post by: sveakul on May 07, 2018, 07:13:50 PM
Thanks frankz!  I (and probably many others!) will be trying it out the next few days and will get back to you.  Appreciate the link and the detailed info.
Title: Re: LyricsReloaded
Post by: sveakul on May 07, 2018, 08:41:25 PM
You might as well get the "possibly dumb" questions first, haha..  Environment wise, I'm starting with MusicBee Portable (latest 3.2 patch), and no prior install of the original LyricsReloaded plugin.  I added the updated plugin via MB's Add Plugin button and all went smoothly;  in the Portable version, the log file ends up in (drive:)/MusicBee/Appdata/mb_LyricsReloaded.

1.  I read in the original version's documentation that the original ordering of the provider search list would be done automatically according to "best results" whe first installed--is that the case with the new version as well?  If not, do you have any advice as to how to order the given list?

2.  I don't auto-tag anything, so I'm adding lyrics from the Edit/Lyrics/Search Internet button;  is this performing the same type of search I have set up in the Tags(2) prefs for the plugin?

3.  I'm assuming that when lyrics are found after hitting the "Search Internet" button, they are coming from the first hit made on the ordered provider list;  does the search option "hard stop" there unless the provider from the initial hit is unchecked from the list?  I'm thinking of cases where "flaky" results turn up and you'd like to see what a different provider is offering for the same song.

4.  For a future release, would it be possible to institute a maximum size option for the log file?

Thanks frankz!  Initial impressions after an hour:  "Sweet!"  8)
Title: Re: LyricsReloaded
Post by: frankz on May 07, 2018, 10:58:46 PM
You might as well get the "possibly dumb" questions first, haha..  Environment wise, I'm starting with MusicBee Portable (latest 3.2 patch), and no prior install of the original LyricsReloaded plugin.  I added the updated plugin via MB's Add Plugin button and all went smoothly;  in the Portable version, the log file ends up in (drive:)/MusicBee/Appdata/mb_LyricsReloaded.

1.  I read in the original version's documentation that the original ordering of the provider search list would be done automatically according to "best results" whe first installed--is that the case with the new version as well?  If not, do you have any advice as to how to order the given list?
I did not change anything as far as the ordering. I don't know how that worked or was supposed to work or if it worked.  I don't know how that would be measured and didn't see anything obvious that would indicate it was, which doesn't mean it wasn't there, just that I didn't see it because it wasn't obvious.  Possibly the author manually ordered them based on his impression of what gave the best results.  Don't know.

2.  I don't auto-tag anything, so I'm adding lyrics from the Edit/Lyrics/Search Internet button;  is this performing the same type of search I have set up in the Tags(2) prefs for the plugin?


Again, I don't know for sure.  Sorry.  I tried one and then looked at the log, and it is searching via the plugin and finding lyrics via the plugin, but they're not in the order I have them listed, so my guess is it's based on how fast they come back not how fast they're sent.  I'm thinking it just searches everything and gives you whatever it gets first.

They go in order on the lyric panel when you right-click and do a "Search Next Provider" on the playing track.  I think the lyric panel on now playing tracks is really what the plugin is intended for.

3.  I'm assuming that when lyrics are found after hitting the "Search Internet" button, they are coming from the first hit made on the ordered provider list;  does the search option "hard stop" there unless the provider from the initial hit is unchecked from the list?  I'm thinking of cases where "flaky" results turn up and you'd like to see what a different provider is offering for the same song.

?  I just added some providers and took out ones that don't work.  Your guess is as good as mine through experimentation.  

For a playing track when you search in the lyric panel, I know it does respect "Search Next Provider" and go through them in order.

On the tagging screen, MB native doesn't operate in the way you indicate and the plugin doesn't either.  The plugin extends the functionality of whatever area, it doesn't' create new functionality.

4.  For a future release, would it be possible to institute a maximum size option for the log file?

Probably.  Beyond the scope of what I was trying to do, but I'm sure it can be done.
Thanks frankz!  Initial impressions after an hour:  "Sweet!"  8)
Can't take much credit, but I'm glad it's doing what you want it to nonetheless.
Title: Re: LyricsReloaded
Post by: sveakul on May 08, 2018, 01:57:17 AM
Thanks frankz your answers were so complete that I have nothing to add as far as follow-up questions (yet!).

I did switch to using the Now Playing panel's lyrics window after noticing that the option to embed the lyrics in the Playing File exist in the context menu there too, combined with the predictable search behavior of the plugin in that window just as you described.

This beats the heck out of "googling" ---sometimes, a little automation is a good thing  ;D

Please do keep us informed here when you make any new updates or changes to the plugin.  Thanks for your work on it!
Title: Re: LyricsReloaded
Post by: sveakul on May 11, 2018, 02:37:16 AM
I ran into this site recently checking on where another app's script was getting its lyrics:

https://github.com/febuiles/makeitpersonal (https://github.com/febuiles/makeitpersonal)

1.  Does anyone else know more about this service, good or bad?
2.  Would it be worthwhile suggesting as an additional search option for frankz's new mod of LyricsReloaded?

I tried inserting a few rather obscure artist/title entries into the URL in the "Lyrics Fetching Service" section, and was surprised to see them found and returned as a text-only page.
Title: Re: LyricsReloaded
Post by: luucasalves on May 11, 2018, 03:28:12 PM
Updated the code above to fix some punctuation marks in title.
Figured there was little interest since no one responded, so I just continued using it myself here.

One small change since above, I removed Metrolyrics since it didn't handle songs that don't have lyrics on that site very elegantly.

If you're interested, here it is:
https://mega.nz/#!QZlAWR6Z!PxMlZ3C7I1YBjekhteKf8R_2j9PPgWfr0KMQ--JJ6iw

Here are the VirusTotal results for the file:
https://www.virustotal.com/#/file/408bc01c787cc0a4005a3b77288ac2b93c0a55b16ee82035124e1442e9ab348b/details

(you can, of course, download the file and then upload it to VirusTotal.com yourself to verify)

Personally, I'd rename my current mb_LyricsReloaded.dll to something else and keep it for a while rather than overwrite it outright with this one.   It's working flawlessly here on my system with my MB version, but I can't speak to every MB version on every system.

Make sure MB is completely closed and put this new mb_LyricsReloaded.dll wherever your current mb_LyricsReloaded.dll file currently resides.  I believe the two places on desktop type installs are

 /%ProgramFiles%/MusicBee/Plugins
-or-
/%APPDATA%/Roaming/MusicBee/Plugins

(not %APPDATA%/Roaming/MusicBee/mb_LyricsReloaded/.  That's where the log file is.)

Don't know anything about the Windows Store version, so you're on your own there.  It shouldn't be different than replacing any other plugin.

Make sure you only have one copy referenced in MB.  The only problem I ever had with it was when I first put my version in the program files plugin folder while the original was in the roaming plugin folder.  MB complained about the log being in use already and crashed.  If you get this error, it likely means you already have the plugin running from somewhere else.

Consider the above version experimental and act accordingly.

i get it from every song, how i can fix it?

 (https://i.imgur.com/bPlBDQj.jpg)
Title: Re: LyricsReloaded
Post by: frankz on May 11, 2018, 03:56:12 PM
My version of the plugin will filter out everything in Genius lyrics between 1 and 75 characters between a set of [], so that result is not coming from my version of the plugin.  You're either using an old version or, if not, you've got an old Genius yml still selected as a source rather than the one built into the newest version of the plugin.

Maybe @redwing can concoct some regex to deal with the <!--sse--> tag showing up and I'll incorporate it.  I can brute force it out of there by removing it specifically but I have a feeling he could provide something more artful that could deal with more contingencies for different tags.
Title: Re: LyricsReloaded
Post by: redwing on May 11, 2018, 04:52:02 PM
I think I'm done with this plugin. I will remove all my posts in this thread not to confuse people.
If you have any questions or requests, talk to frankz.
Title: Re: LyricsReloaded
Post by: frankz on May 11, 2018, 06:02:28 PM
Well, that's unfortunate.

Thanks, though, for your contributions to the thread, which were integral to the long-overdue update of the core plug-in.  They were pretty much the inspiration that got me thinking about doing it.
Title: Re: LyricsReloaded
Post by: luucasalves on May 11, 2018, 06:35:45 PM
My version of the plugin will filter out everything in Genius lyrics between 1 and 75 characters between a set of [], so that result is not coming from my version of the plugin.  You're either using an old version or, if not, you've got an old Genius yml still selected as a source rather than the one built into the newest version of the plugin.

Maybe @redwing can concoct some regex to deal with the <!--sse--> tag showing up and I'll incorporate it.  I can brute force it out of there by removing it specifically but I have a feeling he could provide something more artful that could deal with more contingencies for different tags.
thanks, i fix it uncheck "rapgenius" i got "rapgenius" and "genius" to select...
fix now i guess
Title: Re: LyricsReloaded
Post by: luucasalves on May 11, 2018, 06:37:08 PM
I think I'm done with this plugin. I will remove all my posts in this thread not to confuse people.
If you have any questions or requests, talk to frankz.
why? we love u
Title: Re: LyricsReloaded
Post by: phred on May 11, 2018, 07:15:11 PM
My version of the plugin will filter out everything in Genius lyrics between 1 and 75 characters between a set of []
THIS!!! Well worth the wait for the update. Thanks frankz for updating this very useful plugin.

Can you tell me (us) what providers are now included in the dll? I'd like to clean up my old providers directory and get rid of the yml files that are no longer needed. I've already deleted genius.

Thanks.
Title: Re: LyricsReloaded
Post by: frankz on May 11, 2018, 07:54:14 PM
THIS!!! Well worth the wait for the update. Thanks frankz for updating this very useful plugin.

Can you tell me (us) what providers are now included in the dll? I'd like to clean up my old providers directory and get rid of the yml files that are no longer needed. I've already deleted genius.

Thanks.
Most of the heavy lifting was done by OP and redwing.  I just kind of glued everything back together.

Here are the current providers:

A-Z Lyrics Universe
Cušpajz
Genius
Letras de músicas
LyricWiki Gracenote
LyricWiki
(I asked above if these are now part of MB proper.  If so, there's no need for them to be here and I can get rid of them)
Musixmatch_Asian
Musixmatch
Oldies Lyrics
Rap Genius
(Is this the same as Genius? If so, it can go, too.)
Smriti
Song Lyrics
Teksty
Urban Lyrics
Hindi Lyrics

If anyone is interested in more (too much?) detail about what's new, what's out, and what else changed, you can see my posts here (https://getmusicbee.com/forum/index.php?topic=9994.msg144719#msg144719) and here (https://getmusicbee.com/forum/index.php?topic=9994.msg144966#msg144966).
Title: Re: LyricsReloaded
Post by: phred on May 11, 2018, 08:03:53 PM
Good info. Thanks.

Is there any difference between your A-Z Lyrics Universe and the azlyrics.com YML in the providers sub-directory?

The only thing left in my providers sub-directory is metrolyrics.com. Any plans to incorporate it into the dll? I can provide the YML if needed. With that done, I can delete the entire sub-directory.
Title: Re: LyricsReloaded
Post by: frankz on May 11, 2018, 08:29:53 PM
Good info. Thanks.

Is there any difference between your A-Z Lyrics Universe and the azlyrics.com YML in the providers sub-directory?
Here's the full code that's in the DLL.  I don't know what's in the providers sub-directory but you can compare.

Code
name: A-Z Lyrics Universe

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

headers:
    User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0' # Firefox 30 Win x64 user agent

config:
    url: "http://www.azlyrics.com/lyrics/{artist}/{title}.html"
    pattern: ['<!-- start of lyrics -->(?<lyrics>.+?)<!-- end of lyrics -->', s]
   
post-filters:
- strip_html
- trim
- utf8_encode

The only thing left in my providers sub-directory is metrolyrics.com. Any plans to incorporate it into the dll? I can provide the YML if needed. With that done, I can delete the entire sub-directory.
I added metrolyrics from the thread but I wound up taking it back out for the release because it gave a lot of garbage data (coding and "Oops we don't seem to have lyrics for that" or something similar) when there were not lyrics there for a song. If I can figure out how to get around that I'll put it back in, but it seemed too buggy for a "cleaned up" version of the plugin.
Title: Re: LyricsReloaded
Post by: phred on May 11, 2018, 09:06:57 PM
Quote
I added metrolyrics from the thread but I wound up taking it back out for the release because it gave a lot of garbage data (coding and "Oops we don't seem to have lyrics for that" or something similar) when there were not lyrics there for a song. If I can figure out how to get around that I'll put it back in, but it seemed too buggy for a "cleaned up" version of the plugin.
Great. It's now gone from my providers sub-directory.

As for A-Z Lyrics vs A-Z Lyrics Universe - the xml appears to be the same, so that's now gone and my sub-directory is now empty.

Again, than's for cleaning up the plugin.
Title: Re: LyricsReloaded
Post by: luucasalves on May 12, 2018, 04:45:04 AM
THIS!!! Well worth the wait for the update. Thanks frankz for updating this very useful plugin.

Can you tell me (us) what providers are now included in the dll? I'd like to clean up my old providers directory and get rid of the yml files that are no longer needed. I've already deleted genius.

Thanks.
Most of the heavy lifting was done by OP and redwing.  I just kind of glued everything back together.

Here are the current providers:

A-Z Lyrics Universe
Cušpajz
Genius
Letras de músicas
LyricWiki Gracenote
LyricWiki
(I asked above if these are now part of MB proper.  If so, there's no need for them to be here and I can get rid of them)
Musixmatch_Asian
Musixmatch
Oldies Lyrics
Rap Genius
(Is this the same as Genius? If so, it can go, too.)
Smriti
Song Lyrics
Teksty
Urban Lyrics
Hindi Lyrics

If anyone is interested in more (too much?) detail about what's new, what's out, and what else changed, you can see my posts here (https://getmusicbee.com/forum/index.php?topic=9994.msg144719#msg144719) and here (https://getmusicbee.com/forum/index.php?topic=9994.msg144966#msg144966).
the website genius start with RAPGENIUS for only hip hop lyrics...after this, they created genius.com with all type of songs

u can delete rapgenius
Title: Re: LyricsReloaded
Post by: frankz on May 12, 2018, 05:20:07 AM
the website genius start with RAPGENIUS for only hip hop lyrics...after this, they created genius.com with all type of songs

u can delete rapgenius

OK, thanks for the info.  If/when I update, it'll be gone.

Are you still getting the <!--sse--> tag with the embedded Genius provider in the updated plug-in, or is that solved?
Title: Re: LyricsReloaded
Post by: luucasalves on May 12, 2018, 11:13:44 AM
the website genius start with RAPGENIUS for only hip hop lyrics...after this, they created genius.com with all type of songs

u can delete rapgenius

OK, thanks for the info.  If/when I update, it'll be gone.

Are you still getting the <!--sse--> tag with the embedded Genius provider in the updated plug-in, or is that solved?
solved it unchecking "rapgenius" i check only "genius"
thanks <3
Title: Re: LyricsReloaded
Post by: thejiong on May 16, 2018, 07:45:48 AM
can musixmatch code provider work? if it could,plz gave me a code?thanks a lot
Title: Re: LyricsReloaded
Post by: thejiong on May 16, 2018, 07:52:25 AM
So what I suspect turns out to be true; and I indeed needs that line to ignore any character after the coma in Artist tag when filtering to reconstruct url.

I have a file formatted as:
Artist: Nas, Q-Tip
Album artist: Nas

When I remove out ", Q-Tip" part from Artist tag, lyrics loaded normally. Once I put it back and redid search for lyrics -> no lyrics found (the link http://genius.com/nas-q-tip-one-love-lyrics doesn't exist).

Code
15/04/2018 01:06:14 [DEBUG] Lyrics request:  - Nas - One Love - Illmatic - Genius
15/04/2018 01:06:14 [INFO] Genius tries to load the lyrics...
15/04/2018 01:06:14 [DEBUG] The constructed URL: http://genius.com/nas-one-love-lyrics
15/04/2018 01:06:15 [DEBUG] gzip compression detected
15/04/2018 01:06:15 [DEBUG] lyrics found
15/04/2018 01:06:24 [DEBUG] Lyrics request:  - Nas, Q-Tip - One Love - Illmatic - Genius
15/04/2018 01:06:24 [INFO] Genius tries to load the lyrics...
15/04/2018 01:06:24 [DEBUG] The constructed URL: http://genius.com/nas-q-tip-one-love-lyrics
15/04/2018 01:06:26 [DEBUG] Lyrics request:  - Nas, Q-Tip - One Love - Illmatic - Genius
15/04/2018 01:06:26 [INFO] Genius tries to load the lyrics...
15/04/2018 01:06:26 [DEBUG] The constructed URL: http://genius.com/nas-q-tip-one-love-lyrics

To test whether the plugin use Artist or Album Artist for searching. I retagged the file as below
Artist: (left blank)
Album artist: Nas
->Nothing appears in the lyrics box (even the no lyrics found line) + nothing appears when I clicked redo search either.

One last bit to make sure, I set the file like this:
Artist: Nas
Album artist: (left blank)
-> Everything works perfectly, lyrics found.

==> To sum up, the plugin takes Artist tag and don't care/can't take info from Album Artist tag.

Oh and my bad overlooking emmaoninternet's contribution. I'll edit my post.

The Musixmatch_updated works great, though it suffers the same issue with multiple artist tracks. Regardless, thank you for fixing it.
where is the "The Musixmatch_updated" can you show me the code?please thanks
Title: Re: LyricsReloaded
Post by: frankz on May 16, 2018, 12:17:39 PM
It is now built into the plug-in.  See Reply 282 (https://getmusicbee.com/forum/index.php?topic=9994.msg145258#msg145258) for details.
Title: Re: LyricsReloaded
Post by: Alumni on May 18, 2018, 03:11:09 PM
One of the providers I'm using is fetching lyrics with unwanted text at the end of the string, for example:

Quote
Report a problemWriter(s): Paul Westerberg, Chris Mars, Tommy Stinson
No translations available

Has anyone else experienced this?
Title: Re: LyricsReloaded
Post by: frankz on May 18, 2018, 03:45:51 PM
One of the providers I'm using is fetching lyrics with unwanted text at the end of the string, for example:

Quote
Report a problemWriter(s): Paul Westerberg, Chris Mars, Tommy Stinson
No translations available

Has anyone else experienced this?
That looks like Musixmatch.

Are you using an outdated version of the plugin with yml files for Musixmatch? If so, see Reply 282 (https://getmusicbee.com/forum/index.php?topic=9994.msg145258#msg145258).

I'm working on updating the add-ons area to reflect the updated version and then create a new thread, but until then it's in that post in this thread.
Title: Re: LyricsReloaded
Post by: sveakul on May 19, 2018, 04:14:14 AM
Thanks frankz for your continued work on this.  Looking forward to that new thread!
Title: Re: LyricsReloaded
Post by: quick_wango on May 21, 2018, 08:22:44 PM
Just to make this clear: Feel free to fork the project and modify it as you like, but do it properly. This includes compliance with the terms of the code's license, the GPLv3.
Title: Re: LyricsReloaded
Post by: quick_wango on May 22, 2018, 01:14:44 AM
If the plugin is breaking concrete license terms, feel free to point them out. I'm not aware of any, as what the plugin is doing is pretty much what a browser is doing, I doubt it someone, browsing a lyrics page with a browser, is violating license terms.
Title: Re: LyricsReloaded
Post by: diljitdosanjh on March 12, 2019, 02:01:00 PM
You guys are incredible. This thread had solution to all the problems related to plugin, I was seeking answer for. Thanks
Title: Re: LyricsReloaded
Post by: diljitdosanjh on March 18, 2019, 02:27:53 AM

would love to have lyricsraag.com (https://lyricsraag.com/) as one of the lyrics tagging site
Title: Re: LyricsReloaded
Post by: frankz on March 18, 2019, 11:33:40 PM

would love to have lyricsraag.com (https://lyricsraag.com/) as one of the lyrics tagging site


If you are able to create a working YML for it let me know and I will happily integrate it into the plugin.

Documentation here: https://github.com/mbfrankz/LyricsReloaded/blob/master/LyricsReloaded/README.md
Title: Re: LyricsReloaded
Post by: tejubabu on October 02, 2020, 10:16:25 AM
Get hindi songs lyrics on these sites

http://www.lyricsbell.com/
http://www.lyricsoff.com/
http://www.lyricsbull.com/

Get English songs lyrics (https://azsongslyrics.com/tag/english-songs-lyrics/) on AZ songs lyrics (https://azsongslyrics.com/).
Title: Re: LyricsReloaded
Post by: frankz on October 05, 2020, 01:06:16 AM
FYI this is not the thread for the current plugin (https://getmusicbee.com/forum/index.php?topic=25406.0) and that source wasn't coming from the plugin any more it's native.
Title: Re: LyricsReloaded
Post by: sveakul on October 05, 2020, 01:32:13 AM
Roger that, wrong thread AND did not remember that it was one of the built-in ones.  Post in question now moved to the General forum: https://getmusicbee.com/forum/index.php?topic=33145.0 (https://getmusicbee.com/forum/index.php?topic=33145.0)
Title: Re: LyricsReloaded
Post by: lyricsduck on October 28, 2020, 03:08:12 PM
LyricsDuck.com (https://www.lyricsduck.com/) is india's most loved lyrics website that provides latest hindi, punjabi and marathi songs lyrics.
Title: Re: LyricsReloaded
Post by: psychoadept on October 28, 2020, 03:24:53 PM
This is the current plugin thread: https://getmusicbee.com/forum/index.php?topic=25406.0

I'm locking this topic.