AIMP Forum

AIMP for Windows => Дополнения / Addons => Плагины / Plugins => Topic started by: dxcarnadi on February 06, 2020, 11:05:27

Title: WebLyrics AddOn .. how to use it?
Post by: dxcarnadi on February 06, 2020, 11:05:27
Hello

I have seen WebLyrics AddOn in Options.
I have in Options -> Lyrics all 3 items acknowledged.
                               
BUT I don't see any lyrics ... :-(
What have I done wrong?
Can you help me?
Thank you.
Title: Re: WebLyrics AddOn .. how to use it?
Post by: Zhenya on February 06, 2020, 18:59:22
Main menu / Information Box with default skin.
Title: Re: WebLyrics AddOn .. how to use it?
Post by: alkhoma on September 25, 2020, 23:22:03
I have the same problem as topic starter. Even on Main menu / Information Box with default skin I see nothing. What else can I do to fix it?
Title: Re: WebLyrics AddOn .. how to use it?
Post by: sveakul on September 26, 2020, 00:17:25
See the image below.  Also, realize that the plugin uses only 2 sources so there will be cases where no lyrics are found to display.  Finally, be sure you have it checked in your Plugins list.
Title: Re: WebLyrics AddOn .. how to use it?
Post by: sveakul on October 05, 2020, 18:26:06
I have the same problem as topic starter. Even on Main menu / Information Box with default skin I see nothing. What else can I do to fix it?

I just found out that LyricWiki (lyrics.fandom.com) has been shut down permanently as of 09-21-2020.  So, that would explain why you haven't been seeing lyrics, as that was one of the two sources used by the plugin (the other is text-lyrics.ru).  Hopefully Artem will be updating the plugin with new source(s) soon.
Title: Re: WebLyrics AddOn .. how to use it?
Post by: Artem on October 05, 2020, 20:00:25
May be you can suggest what sources to use instead of lyrics.fandom.com?
Title: Re: WebLyrics AddOn .. how to use it?
Post by: sveakul on October 05, 2020, 21:41:56
May be you can suggest what sources to use instead of lyrics.fandom.com?

Thanks Artem for the response!  In another player I have found that the majority of my lyrics results come from genius.com--lots of alternative/pop/rock stuff, a real mixed base.  The other major recommendation would be metal-archives.com, which besides just "metal" has a huge quantity of cross-over genres;  however, it might be difficult to parse as they use some kind of javascript lyrics window.  If that one proved too hard to integrate, darklyrics.com, while a much smaller database, has a lot of that stuff too.

Well, that's my own suggestions, I'm sure others will have theirs too!!
Title: Re: WebLyrics AddOn .. how to use it?
Post by: fizbin on February 08, 2021, 12:48:37
Thanks sveakul, that pic helped since I am generally clueless... :'(
Title: Re: WebLyrics AddOn .. how to use it?
Post by: sveakul on February 08, 2021, 20:08:33
Thanks sveakul, that pic helped since I am generally clueless... :'(

No problem, also try replacing the existing aimp_webLyrics.ini file with this one (unzip) with additional sources by @sabadell66.
Title: Re: WebLyrics AddOn .. how to use it?
Post by: c0der on September 23, 2021, 02:10:35
I played around with the config file of aimp_webLyrics.dll and found a solution that works for most of the songs. Below is the config section for genius.com.
Note that some songs might not be found and you will need another page to load lyrics from. The reason for this is the artist info of the ID3-Tag in the MP3-File itself and how the Genius-URL is built.

Code: [Select]
[genius.com]
Class=TAIMPLyricsWebPageBasedProvider
CustomHeaders=\ncontent-type: application/json; charset=utf-8\ncontent-encoding: gzip
SearchQuery=https://genius.com/api/search/multi?per_page=5&q=%artist%+%title%
Encoding=URL
SearchResultPageStartTags="url":"
SearchResultPageFinishTags=",
LyricsPageTitleStartTags={"name":"song_title","values":["
LyricsPageTitleFinishTags="]
LyricsPageArtistStartTags={"name":"artist_name","values":["
LyricsPageArtistFinishTags="]
LyricsPageTextStartTags=<div class="Lyrics__Container-sc-1ynbvzw-8 beMmeb">
LyricsPageTextFinishTags=<div class="Lyrics__Footer-sc-
LyricsPageTextPostProcessExpression=%Value\n\nhttps://www.genius.com