Author Topic: LyricsReloaded  (Read 226581 times)

eugenesv

  • Newbie
  • *
  • Posts: 9
The result of my nerdocity is a modified Genius.com provider config + a config for 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!

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 8924
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.
Download the latest MusicBee v3.5 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

MikeOxlittle

  • Guest
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.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 8924
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. 
Last Edit: January 23, 2016, 04:59:32 PM by phred
Download the latest MusicBee v3.5 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

quick_wango

  • Jr. Member
  • **
  • Posts: 108
  • Software Engineer
If the plugin does not work on MusicBee 3 and there is enough interest I could port it over

Alumni

  • Sr. Member
  • ****
  • Posts: 1007
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.


quick_wango

  • Jr. Member
  • **
  • Posts: 108
  • Software Engineer
That's only an option if MusicBee can run under Linux using Wine and Mono. Has anyone tried that before?

Alumni

  • Sr. Member
  • ****
  • Posts: 1007
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

SandyRavage

  • Newbie
  • *
  • Posts: 8
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.


quick_wango

  • Jr. Member
  • **
  • Posts: 108
  • Software Engineer
Seems like the website is injecting some additional code after the initial request and the lyrics extraction regex is not prepared for that.

nokitron

  • Newbie
  • *
  • Posts: 7
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.





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.

Moshi_

  • Full Member
  • ***
  • Posts: 133
  • http://www.last.fm/user/Moshi_
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

quick_wango

  • Jr. Member
  • **
  • Posts: 108
  • Software Engineer
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.