Author Topic: LyricsReloaded (Updated)  (Read 113700 times)

tharindu

  • Newbie
  • *
  • Posts: 3
Instead of setting url of provider, by using song title or artist directly, Is there a way to do a google search of the artist, title, lyric, provider and get the results urls.

eg:
If provider is musixmatch, assume we need to get lyrics of song "Greedy" of "Ariana" of use the following url.
Code
url: "https://www.musixmatch.com/lyrics/{artist}/{title}"

Here we get;
http://www.musixmatch.com/lyrics/ariana/greedy

Here this url gives nothing as the musixmatch url for above song is,
https://www.musixmatch.com/lyrics/ariana-grande/greedy
.

But if we can get the url from a simple google search, we can fetch lyrics easily (e.g: even if have misspelled a artist name in tags, the google will correct it for us)
https://www.google.lk/search?q=ariana+greedy+musixmatch+lyrics  

Here we get the first result as the correct result.
https://www.musixmatch.com/lyrics/ariana-grande/greedy

frankz

  • Hero Member
  • *****
  • Posts: 3150
You can do this in MB by adding a custom web link under Edit->Edit Preferences->Internet.  This is not related to this plugin.  The plugin works using direct URLs, not searching.
A smile is happiness you'll find right under your nose.

sveakul

  • Hero Member
  • *****
  • Posts: 1891
tharindu:  frankz answered your question, but believe me, spare yourself the hassle of constructing your own web links and just use this plugin, the obvious advantage being that several lyrics providers can be searched simultaneously, the lyrics then viewed and/or edited in Now Playing while you're listening to the song in MusicBee (or NOT playing it), and then you still have the OPTION to either embed into the music file before or after editing (or autosave depending on your Tags(2) settings), or just copy them and stick them in a text file, or nod and pass.  Everything covered!  Why waltz when you can rock-n-roll? :)

Kasionz

  • Newbie
  • *
  • Posts: 4
Brilliant brilliant work! Just what I was looking for thank you @frankz !

frankz

  • Hero Member
  • *****
  • Posts: 3150
None of the brilliance is mine, I assure you.  :)
A smile is happiness you'll find right under your nose.

tharindu

  • Newbie
  • *
  • Posts: 3
You can do this in MB by adding a custom web link under Edit->Edit Preferences->Internet.  This is not related to this plugin.  The plugin works using direct URLs, not searching.

Yes, this one gives the search results in the browser. But this is not what I need. I need the things the plugging already does even, and I need an additional step. Okay, I will explain my question a bit.

Instead of setting url of provider, by using song title or artist directly, Is there a way to do a google search of the artist, title, lyric, provider and get the results urls.

eg:
If provider is musixmatch, assume we need to get lyrics of song "Greedy" of "Ariana" of use the following url.
Code
url: "https://www.musixmatch.com/lyrics/{artist}/{title}"

Here we get;
http://www.musixmatch.com/lyrics/ariana/greedy

Here this url gives nothing as the musixmatch url for above song is,
https://www.musixmatch.com/lyrics/ariana-grande/greedy
.

But if we can get the url from a simple google search, we can fetch lyrics easily (e.g: even if have misspelled a artist name in tags, the google will correct it for us)
https://www.google.lk/search?q=ariana+greedy+musixmatch+lyrics  

Here we get the first result as the correct result.
https://www.musixmatch.com/lyrics/ariana-grande/greedy

In this example, I do not want to get the result on the browser, I need the pluggin grab the first search result url only. Then the fetching lyric of that url shoud be done using the same method as it does now.

frankz

  • Hero Member
  • *****
  • Posts: 3150
Sorry, but that's not the way the plugin works.  It works off of direct URLs without the additional step in between.

For your example, the artist name is Ariana Grande.  You'll want to have your files tagged accurately to get accurate results from the plug in.  It is not built to account for mistagged files.  With the correct artist name, the correct lyrics are pulled as you have shown.

If you want to pull lyrics for songs with inaccurate tags, you'll need to do it through the browser and copy/paste them.
A smile is happiness you'll find right under your nose.

tharindu

  • Newbie
  • *
  • Posts: 3
Is there any suggestion to implement this, in yml file.

frankz

  • Hero Member
  • *****
  • Posts: 3150
The YML files control how the site in question (be it Genius, MusixMatch, etc) is accessed through a direct URL, what is pulled down once it's accessed, and how it's formatted.  

Again, the plugin is not built for an intermediate step in between, so what you're looking to do is, therefore, not possible with the plugin.  It cannot add steps in between, follow links, etc.  It's just not what it does.

Tag your files accurately to use the plugin.  A file tagged as Artist:Ariana Grande / Title: Greedy will retrieve the exact correct lyrics from the site.
A smile is happiness you'll find right under your nose.

frankz

  • Hero Member
  • *****
  • Posts: 3150
Updated to 1.1.6.  See first post for link and details.
A smile is happiness you'll find right under your nose.

sveakul

  • Hero Member
  • *****
  • Posts: 1891
Hi frankz,

First, thanks for adding the non-API search version of LyricWiki!  Is there any possiblity you could add https://www.metal-archives.com to the sources that mb_LyricsReloaded can search?  I've found lyrics there via a 3rd-party lyrics plugin in Foobar that were not available from any MusicBee search source for the same song, e.g. "Siren's Call" by Phantom Elite.

On the website itself, the lyrics appear (if available) once you are at a album's track listing and click a separate "Show Lyrics" link to the right ( for an example see https://www.metal-archives.com/albums/Sad_Alice_Said/Clock_of_Eternity/313163).

If you can add this source, fantastic, if not, thanks for the great job your plugin already does.

frankz

  • Hero Member
  • *****
  • Posts: 3150
Hi frankz,

First, thanks for adding the non-API search version of LyricWiki!  Is there any possiblity you could add https://www.metal-archives.com to the sources that mb_LyricsReloaded can search?  I've found lyrics there via a 3rd-party lyrics plugin in Foobar that were not available from any MusicBee search source for the same song, e.g. "Siren's Call" by Phantom Elite.

On the website itself, the lyrics appear (if available) once you are at a album's track listing and click a separate "Show Lyrics" link to the right ( for an example see https://www.metal-archives.com/albums/Sad_Alice_Said/Clock_of_Eternity/313163).

If you can add this source, fantastic, if not, thanks for the great job your plugin already does.
Looking at it really quickly, I don't think so because there don't seem to be individual URLs / pages for each song.  It just lists by album and then does some kind of internal script to pull up song by song on that same page.

That said, Steven sent me a handful of of other sites that may provide some more obscure or hard to find lyrics.  It will take me a while to get around to integrating them into the plug in, but it's a great start and I will add what I can.

If you find a way to get each song on its own page with a unique URL from the site you've referenced, let me know and I'll take another look.  If you do that and create a YML for it, even better. ;)
A smile is happiness you'll find right under your nose.

sveakul

  • Hero Member
  • *****
  • Posts: 1891
frankz:  the best I can do is a search url based on artist and title (https://www.metal-archives.com/search/advanced/searching/songs?songTitle=siren%27s+call&bandName=phantom+elite&releaseTitle=&lyrics=&genre=#songs) that leads to a page which has the song result displayed and a "toggle lyrics display" button that when pushed shows the lyrics;  the button specs out as a javascript element (<a href="javascript:;" id="lyricsLink_4562478" title="Toggle lyrics display" class="viewLyrics iconContainer ui-state-default"><span class="ui-icon ui-icon-script">).  Yeah--YIKES, haha!  Not exactly a YML candidate.

Cool on the new possibilities from Steven, please add to that http://www.darklyrics.com which has a lot of obscure stuff and uses the friendly " .../search?q=a+b" format.  Thanks for your work that helps so many.

FudgePoly

  • Newbie
  • *
  • Posts: 5
Thanks for updating the plugin! Much appreciated and works really well.

waydown

  • Newbie
  • *
  • Posts: 5
Hi there, I've been trying to make LyricsReloaded work for a while now without much success.
The problem is that Musicbee sometimes shows no lyrics at all or lyrics from a whole different song of the artist/band other than the one played (and we're talking no obscure stuff now, Morrissey for example). So in that case I am trying to "search next lyrics provider" but this never seems to work. Even when correct lyrics do appear (lyrics source seem to be either the Musicbee plugin or Lyricwiki only) "search next provider" still doesn't work. Any ideas?

Things I've tried:
* Reordering my lyrics sources in "Tags (2)/Auto-tagging" as the plugin suggests.
* Uninstalling and reinstalling the plugin (latest version as well).
* Uninstalling and reinstalling Musicbee (latest version as well, tried the portable version too).