AIMP Forum

AIMP for Windows => Дополнения / Addons => Плагины / Plugins => Тема начата: dxcarnadi от Февраля 06, 2020, 11:05:27

Название: WebLyrics AddOn .. how to use it?
Отправлено: dxcarnadi от Февраля 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.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: Zhenya от Февраля 06, 2020, 18:59:22
Main menu / Information Box with default skin.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: alkhoma от Сентября 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?
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: sveakul от Сентября 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.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: sveakul от Октября 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.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: Artem от Октября 05, 2020, 20:00:25
May be you can suggest what sources to use instead of lyrics.fandom.com?
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: sveakul от Октября 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!!
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: fizbin от Февраля 08, 2021, 12:48:37
Thanks sveakul, that pic helped since I am generally clueless... :'(
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: sveakul от Февраля 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.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: c0der от Сентября 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.

[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
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: LyricsFan от Марта 10, 2024, 23:04:34
I am desperate. Anyone know how to edit aimp_webLyrics.ini file? I need lyrics from genius.com or any other source.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: Choveka от Марта 11, 2024, 15:10:22
I am desperate. Anyone know how to edit aimp_webLyrics.ini file? I need lyrics from genius.com or any other source.
You can open and edit aimp_webLyrics.ini in any text editor, for example Notepad, Notepad++, Akelpad etc.
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: sveakul от Марта 11, 2024, 18:55:29
I am desperate. Anyone know how to edit aimp_webLyrics.ini file? I need lyrics from genius.com or any other source.
As Choveka said, editing it is easy, finding what code produces results, not so easy.

I and others have benefited from the generosity and skill of other posters here (gr-e, sabadell66, c0der, etc.) in making their own work available for use.  The attached aimp_webLyrics.ini contains extra sources they have provided for both lyrics and album art--you can extract it from the zip into your aimp_webLyrics folder and let it overwrite the existing file.

I have commented out the mldb.org source as it appears to be no longer accepting requests.  If anyone has any edits or additional sources for the file please post them here!
Название: Re: WebLyrics AddOn .. how to use it?
Отправлено: LyricsFan от Марта 11, 2024, 23:44:35
Thank you for the zip file  :)