{"id":314,"date":"2010-03-28T22:01:39","date_gmt":"2010-03-28T21:01:39","guid":{"rendered":"http:\/\/katastrophos.net\/andre\/blog\/?page_id=314"},"modified":"2013-12-15T23:27:07","modified_gmt":"2013-12-15T22:27:07","slug":"cover-art-providers","status":"publish","type":"page","link":"https:\/\/katastrophos.net\/andre\/blog\/software\/cover-art-providers\/","title":{"rendered":"Cover Art Providers"},"content":{"rendered":"<h2>About<\/h2>\n<p>The Cover Art Providers suite is a set of PHP classes that provide functionality to search for and download cover art images. Internally HTML DOM and XPath queries are used to acquire links to album cover art images from external services.<\/p>\n<p>Currently the following classes are implemented:<br \/>\n<figure id=\"attachment_324\" aria-describedby=\"caption-attachment-324\" style=\"width: 290px\" class=\"wp-caption alignright\"><a href=\"http:\/\/katastrophos.net\/andre\/blog\/wp-content\/uploads\/2010\/03\/CoverArtSearch.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/katastrophos.net\/andre\/blog\/wp-content\/uploads\/2010\/03\/CoverArtSearch-231x300.png\" alt=\"Cover Art Search frontend (http:\/\/coverart.katastrophos.net)\" title=\"Cover Art Search frontend (http:\/\/coverart.katastrophos.net)\" width=\"231\" height=\"300\" class=\"size-medium wp-image-324\" srcset=\"https:\/\/katastrophos.net\/andre\/blog\/wp-content\/uploads\/2010\/03\/CoverArtSearch-231x300.png 231w, https:\/\/katastrophos.net\/andre\/blog\/wp-content\/uploads\/2010\/03\/CoverArtSearch-115x150.png 115w, https:\/\/katastrophos.net\/andre\/blog\/wp-content\/uploads\/2010\/03\/CoverArtSearch.png 722w\" sizes=\"(max-width: 231px) 100vw, 231px\" \/><\/a><figcaption id=\"caption-attachment-324\" class=\"wp-caption-text\">Cover Art Search frontend (http:\/\/coverart.katastrophos.net)<\/figcaption><\/figure><br \/>\n<strong>CoverArtProviderAmazon<\/strong><br \/>\nQueries Amazon and returns matches;<br \/>\nSupports different top-level domains (com, de, fr);<\/p>\n<p><strong>CoverArtProviderGoogleImages<\/strong><br \/>\nQueries Google Images and returns matches;<br \/>\nSupports different top-level domains (com, de, fr);<\/p>\n<p><strong>CoverArtProviderLastFM<\/strong><br \/>\nQueries last.fm and returns matches;<\/p>\n<p><strong>CoverArtProviderCache<\/strong><br \/>\nQueries a cache (internal SQLite database) and, if no match is found, delegates to a list of specified CoverArtProvider class instances.<\/p>\n<p>The classes of the Cover Art Providers suite along with necessary simple webservices are part of the Quasar Media Player source code and are used in the Cover Art Downloader add-on.<\/p>\n<h2>Demo<\/h2>\n<p>The Cover Art Providers suite is available for testing purposes via our <a href=\"http:\/\/coverart.katastrophos.net\" target=\"_blank\">katastrophos.net Cover Art search front-end<\/a>.<\/p>\n<h2>Download<\/h2>\n<p>There is no official separate release of the Cover Art Providers codebase. It is included in the Quasar Media Player source code which can be found <a href=\"http:\/\/katastrophos.net\/quasar\" target=\"_blank\">here<\/a>.<\/p>\n<p>A current development version is available via our SVN:<br \/>\n<a href=\"https:\/\/svn.katastrophos.net\/quasar\/trunk\/addons\/coverartdownloader\/PHPService\/\" target=\"_blank\">https:\/\/svn.katastrophos.net\/quasar\/trunk\/addons\/coverartdownloader\/PHPService\/<\/a><\/p>\n<h2>License<\/h2>\n<p>The Cover Art Providers suite is licensed under the terms of the GNU General Public License (GPL) v2 and the source code is freely available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About The Cover Art Providers suite is a set of PHP classes that provide functionality to search for and download cover art images. Internally HTML DOM and XPath queries are used to acquire links to album cover art images from external services. Currently the following classes are implemented: CoverArtProviderAmazon Queries Amazon and returns matches; Supports [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":42,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-314","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/pages\/314"}],"collection":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":20,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/pages\/314\/revisions"}],"predecessor-version":[{"id":669,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/pages\/314\/revisions\/669"}],"up":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/pages\/42"}],"wp:attachment":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/media?parent=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}