]> Joshua Wise's Git repositories - patchfork.git/blobdiff - player/metadata_cover.php
Tweak support for Amazon coverart grabbing to be able to use keyword search, too...
[patchfork.git] / player / metadata_cover.php
index 38d29479ac1ab0ff45c076684e2a1af602b4758e..50daeb4d4aeed72ce8edd4c446f2b3de6e7358bd 100644 (file)
@@ -29,7 +29,7 @@
        function amazon_search_cover($artist, $album) {
                global $amazon_cover_url, $metadata_dir;
 
-               $xml = amazon_album_query(array("Operation"=>"ItemSearch", "SearchIndex"=>"Music", "ResponseGroup"=>"Images", "Artist"=>"$artist", "Album"=>"$album"));
+               $xml = amazon_album_query(array("Operation"=>"ItemSearch", "SearchIndex"=>"Music", "ResponseGroup"=>"Images", "Artist"=>"$artist"), $album);
                if($xml) {
                        if(isset($xml->Items[0])&&isset($xml->Items[0]->Item[0])) {
                                $item = $xml->Items[0]->Item[0];
This page took 0.153675 seconds and 4 git commands to generate.