Skip to content

Commit

Permalink
[raop] - also forward png data to the coverart callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed May 4, 2015
1 parent bbb0ec3 commit 71bae68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/raop.c
Expand Up @@ -312,7 +312,7 @@ conn_request(void *ptr, http_request_t *request, http_response_t **response)
logger_log(conn->raop->logger, LOGGER_WARNING, "RAOP not initialized at SET_PARAMETER volume");
}
free(datastr);
} else if (!strcmp(content_type, "image/jpeg")) {
} else if (!strcmp(content_type, "image/jpeg") || !strcmp(content_type, "image/png")) {
logger_log(conn->raop->logger, LOGGER_INFO, "Got image data of %d bytes", datalen);
if (conn->raop_rtp) {
raop_rtp_set_coverart(conn->raop_rtp, data, datalen);
Expand Down

0 comments on commit 71bae68

Please sign in to comment.