PHP Gracenote库没有';t返回相册\u艺术\u url

PHP Gracenote库没有';t返回相册\u艺术\u url,php,search,gracenote,albumart,Php,Search,Gracenote,Albumart,php gracenote库中的演示文件不会返回相册\u艺术\u url。“Moby”是默认的搜索查询。即使我将搜索查询更改为其他内容,它仍然不会返回相册\u艺术\u url 库是否已损坏,或者Gracenote是否在搜索中禁用了album\u art\u url?这是Gracenote API的限制。它仅在执行SINGLE\u BEST查找时返回唱片集艺术(在php gracenote库中称为BEST\u MATCH\u only) 您可以将一个额外的参数传递到php gracenote的任何

php gracenote库中的演示文件不会返回
相册\u艺术\u url
。“Moby”是默认的搜索查询。即使我将搜索查询更改为其他内容,它仍然不会返回
相册\u艺术\u url


库是否已损坏,或者Gracenote是否在搜索中禁用了
album\u art\u url

这是Gracenote API的限制。它仅在执行
SINGLE\u BEST
查找时返回唱片集艺术(在php gracenote库中称为
BEST\u MATCH\u only

您可以将一个额外的参数传递到php gracenote的任何搜索函数中,以获取唱片集艺术,但您只能获得单个最佳结果,而不是多个结果

// No album art, but multiple results.
$api->searchArtist("Moby");

// You get album art, but only one result.
$api->searchArtist("Moby", Gracenote\WebAPI\GracenoteWebAPI::BEST_MATCH_ONLY);