Lines Matching defs:artwork
73 #include "artwork.h"
153 struct evbuffer *artwork;
718 if (rmd->artwork)
719 evbuffer_free(rmd->artwork);
848 /* Get artwork */
849 rmd->artwork = evbuffer_new();
850 if (!rmd->artwork)
852 DPRINTF(E_LOG, L_RAOP, "Out of memory for artwork evbuffer; no artwork will be sent\n");
857 ret = artwork_get_item_filename(dbmfi.path, 600, 600, ART_CAN_PNG | ART_CAN_JPEG, rmd->artwork);
860 DPRINTF(E_LOG, L_RAOP, "Failed to retrieve artwork for '%s' (%d); no artwork will be sent\n", dbmfi.title, id);
862 evbuffer_free(rmd->artwork);
863 rmd->artwork = NULL;
1982 DPRINTF(E_LOG, L_RAOP, "SET_PARAMETER request failed for metadata/artwork/progress: %d %s\n", req->response_code, req->response_code_line);
2056 DPRINTF(E_LOG, L_RAOP, "Unsupported artwork format %d\n", rmd->artwork_fmt);
2061 ret = evbuffer_add(evbuf, EVBUFFER_DATA(rmd->artwork), EVBUFFER_LENGTH(rmd->artwork));
2064 DPRINTF(E_LOG, L_RAOP, "Could not copy artwork for sending\n");
2129 if (!rmd->artwork)
2135 DPRINTF(E_LOG, L_RAOP, "Could not send artwork to %s\n", rs->devname);