Include DAAP queries from Retune and TunesRemote+ for caching

+ misc fixing up
This commit is contained in:
ejurgensen
2014-08-22 22:51:13 +02:00
parent f997aca452
commit 624dd40c59
3 changed files with 78 additions and 82 deletions

View File

@@ -1334,7 +1334,7 @@ if (req) {
}
}
DPRINTF(E_DBG, L_DAAP, "Done with song\n");
DPRINTF(E_SPAM, L_DAAP, "Done with song\n");
}
DPRINTF(E_DBG, L_DAAP, "Done with song list, %d songs\n", nsongs);
@@ -2671,9 +2671,8 @@ daap_request(struct evhttp_request *req)
evbuf = daapcache_get(full_uri);
if (evbuf)
{
DPRINTF(E_DBG, L_DAAP, "Cache hit: %s\n", full_uri);
httpd_send_reply(req, HTTP_OK, "OK", evbuf); // TODO not all want this reply
evbuffer_free(evbuf);
free(uri);
free(full_uri);