mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-04 10:26:02 -05:00
[mpd] use the same image size as in raop_metadata_prepare (max 600x600)
to increase artwork cache hits
This commit is contained in:
parent
1ab318d725
commit
c6851eac9b
@ -4366,7 +4366,7 @@ artwork_cb(struct evhttp_request *req, void *arg)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
format = artwork_get_item(evbuffer, itemid, 500, 500);
|
format = artwork_get_item(evbuffer, itemid, 600, 600);
|
||||||
if (format < 0)
|
if (format < 0)
|
||||||
{
|
{
|
||||||
evhttp_send_error(req, HTTP_NOTFOUND, "Document was not found");
|
evhttp_send_error(req, HTTP_NOTFOUND, "Document was not found");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user