0 Members and 2 Guests are viewing this topic.
Провайдеры текста и обложек BandcampCode: [Select][bandcamp.com]Class=TAIMPLyricsWebPageBasedProviderSearchQuery=https://bandcamp.com/search?q=%artist%%20%title%&item_type=tSearchQueryEncoding=URLSearchResult.StartTags=class="searchresult data-search"|>SearchResult.FinishTags=</li>SearchResultArtist.StartTags=class="subhead">|by SearchResultArtist.FinishTags=</div>SearchResultTitle.StartTags=a href=|>SearchResultTitle.FinishTags=</a>SearchResultURL.StartTags=a href="SearchResultURL.FinishTags="DataLyrics.StartTags=class="tralbumData lyricsText">DataLyrics.FinishTags=</div>[aa.bandcamp.com]Class=TAIMPAlbumArtWebPageBasedProviderSearchQuery=https://bandcamp.com/search?q=%album%&item_type=aSearchQueryEncoding=URLSearchResult.StartTags=class="searchresult data-search"|>SearchResult.FinishTags=</li>SearchResultArtist.StartTags=class="subhead">|by SearchResultArtist.FinishTags=</div>SearchResultAlbum.StartTags=a href=|>SearchResultAlbum.FinishTags=</a>SearchResultAlbumArt.StartTags=img src="SearchResultAlbumArt.FinishTags="SearchResultAlbumArt.PostProcessExpression=%Replace(%Replace(%Value,f4.,f1.),_7.,_10.)
[bandcamp.com]Class=TAIMPLyricsWebPageBasedProviderSearchQuery=https://bandcamp.com/search?q=%artist%%20%title%&item_type=tSearchQueryEncoding=URLSearchResult.StartTags=class="searchresult data-search"|>SearchResult.FinishTags=</li>SearchResultArtist.StartTags=class="subhead">|by SearchResultArtist.FinishTags=</div>SearchResultTitle.StartTags=a href=|>SearchResultTitle.FinishTags=</a>SearchResultURL.StartTags=a href="SearchResultURL.FinishTags="DataLyrics.StartTags=class="tralbumData lyricsText">DataLyrics.FinishTags=</div>[aa.bandcamp.com]Class=TAIMPAlbumArtWebPageBasedProviderSearchQuery=https://bandcamp.com/search?q=%album%&item_type=aSearchQueryEncoding=URLSearchResult.StartTags=class="searchresult data-search"|>SearchResult.FinishTags=</li>SearchResultArtist.StartTags=class="subhead">|by SearchResultArtist.FinishTags=</div>SearchResultAlbum.StartTags=a href=|>SearchResultAlbum.FinishTags=</a>SearchResultAlbumArt.StartTags=img src="SearchResultAlbumArt.FinishTags="SearchResultAlbumArt.PostProcessExpression=%Replace(%Replace(%Value,f4.,f1.),_7.,_10.)
Провайдеры текста и обложек Bandcamp
[bing-spotify.com]Class=TAIMPLyricsWebPageBasedProviderCustomHeaders=\nAccept-Language: en-US,en;q=0.5 \nuser-agent: Mozilla/5.0 (Linux; Android 10; HLK-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Mobile Safari/537.36 EdgA/104.0.1293.70SearchQuery=https://www.bing.com/search?q="%title%"+%artist%+site:open.spotify.com/track/SearchQueryEncoding=URLSearchResult.StartTags=class="b_algo|>SearchResult.FinishTags=</li>SearchResultArtist.StartTags= - | by SearchResultArtist.FinishTags=</h2>SearchResultArtist.PostProcessExpression=%Remove(%Value, | Spotify)SearchResultTitle.StartTags=<h2>SearchResultTitle.FinishTags= - SearchResultURL.StartTags=href="SearchResultURL.FinishTags="SearchResultURL.PostProcessExpression=https://spotify-lyrics-api-pi.vercel.app/?url=%Value&format=lrcDataLyrics.StartTags="lines":[DataLyrics.FinishTags=]}DataLyrics.PostProcessExpression=%Replace(%Replace(%Replace(%Replace(%Replace(%Replace(%Value,"}%Char(44){"timeTag":"00:00.00"%Char(44)"words":",%Char(13)%Char(10)),"}%Char(44){"timeTag":",%Char(13)%Char(10)[),"%Char(44)"words":",]),{"timeTag":",[),"},),%Char(9834),)
[bing-spotify.com-synced-only]Class=TAIMPLyricsWebPageBasedProviderCustomHeaders=\nAccept-Language: en-US,en;q=0.5 \nuser-agent: Mozilla/5.0 (Linux; Android 10; HLK-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Mobile Safari/537.36 EdgA/104.0.1293.70SearchQuery=https://www.bing.com/search?q="%title%"+%artist%+site:open.spotify.com/track/SearchQueryEncoding=URLSearchResult.StartTags=class="b_algo|>SearchResult.FinishTags=</li>SearchResultArtist.StartTags= - | by SearchResultArtist.FinishTags=</h2>SearchResultArtist.PostProcessExpression=%Remove(%Value, | Spotify)SearchResultTitle.StartTags=<h2>SearchResultTitle.FinishTags= - SearchResultURL.StartTags=href="SearchResultURL.FinishTags="SearchResultURL.PostProcessExpression=https://spotify-lyrics-api-pi.vercel.app/?url=%Value&format=lrcDataLyrics.StartTags="LINE_SYNCED","lines":[DataLyrics.FinishTags=]DataLyrics.PostProcessExpression=%Replace(%Replace(%Replace(%Replace(%Replace(%Replace(%Value,"}%Char(44){"timeTag":"00:00.00"%Char(44)"words":",%Char(13)%Char(10)),"}%Char(44){"timeTag":",%Char(13)%Char(10)[),"%Char(44)"words":",]),{"timeTag":",[),"},),%Char(9834),)
1. Is it possible to make a version that does a "non-synchronized" format search, or at least to suppress the time stamps in the results?
2. Is there a place in the code to insert a "display origin" tag
DataLyrics.PostProcessExpression=spotify.com\n\n%Replace(%Replace(%Replace(%Replace(%Replace(%Replace(%Value,"}%Char(44){"timeTag":"00:00.00"%Char(44)"words":",%Char(13)%Char(10)),"}%Char(44){"timeTag":",%Char(13)%Char(10)[),"%Char(44)"words":",]),{"timeTag":",[),"},),\u266a,)
Just use the Musixmatch provider that comes with AIMP by default, it's the same database.
Прошу подсказать в чем ошибка.
В SearchResultAlbumArt.StartTags не знаю, в чем проблема, но если убрать лишнее, обложки начинают грузиться:SearchResultAlbumArt.StartTags=<img data-src="
А может Вы знаете: вертикальная черта, в данном случае, это сокращение или оператор "или"?
[discogs.com]Class=TAIMPAlbumArtWebPageBasedProviderSearchQuery=https://www.discogs.com/en/search/?q=%artist%+-+%title%&type=all&type=allSearchQueryEncoding=URLSearchResult.StartTags=cards cards_layout_largeSearchResult.FinishTags=card_actions skittlesSearchResultArtist.StartTags=card-artist-name|<span title="|<a|>SearchResultArtist.FinishTags=</span|</aSearchResultAlbum.StartTags=card-release-title|<a|>SearchResultAlbum.FinishTags=</div|</aSearchResultAlbumArt.StartTags=<img data-src="SearchResultAlbumArt.FinishTags="
AsTel: Ваш скрипт, подобный этому, возвращает мне обложку альбома (добавлены изменения gr-e):
[nashe.ru]Class=TAIMPAlbumArtWebPageBasedProviderSearchQuery=https://www.nashe.ruSearchQueryEncoding=URLSearchResult.StartTags=player__playing">SearchResult.FinishTags=player__button|player__button_lastSearchResultArtist.StartTags=player__artist|ng-binding">SearchResultArtist.FinishTags=</p>SearchResultTitle.StartTags=player__song|ng-binding">SearchResultTitle.FinishTags=</p>SearchResultAlbumArt.StartTags=<button|player__play|player__play_nashe|background-image|https://SearchResultAlbumArt.FinishTags=.jpg"SearchResultAlbumArt.PostProcessExpression=https://%Replace(%Value,/100x100/,/300x300/).jpg
Обновлен провайдер Spotify: https://www.aimp.ru/forum/index.php?topic=57148.msg432069#msg432069