mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-27 05:44:53 -04:00
Increase logging
This commit is contained in:
parent
d8981d353c
commit
c28a956379
@ -339,6 +339,8 @@ DAAP_BLOCK *daap_response_songlist(void) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DPRINTF(ERR_DEBUG,"Successfully enumerated database\n");
|
||||||
|
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,8 +219,11 @@ void daap_handler(WS_CONNINFO *pwsc) {
|
|||||||
pwsc->close=close;
|
pwsc->close=close;
|
||||||
|
|
||||||
if(!streaming) {
|
if(!streaming) {
|
||||||
|
DPRINTF(ERR_DEBUG,"Satisfying request\n");
|
||||||
ws_addresponseheader(pwsc,"Content-Length","%d",root->reported_size + 8);
|
ws_addresponseheader(pwsc,"Content-Length","%d",root->reported_size + 8);
|
||||||
ws_writefd(pwsc,"HTTP/1.1 200 OK\r\n");
|
ws_writefd(pwsc,"HTTP/1.1 200 OK\r\n");
|
||||||
|
|
||||||
|
DPRINTF(ERR_DEBUG,"Emitting headers\n");
|
||||||
ws_emitheaders(pwsc);
|
ws_emitheaders(pwsc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -230,7 +233,9 @@ void daap_handler(WS_CONNINFO *pwsc) {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
DPRINTF(ERR_DEBUG,"Serializing\n");
|
||||||
daap_serialize(root,pwsc->fd,0);
|
daap_serialize(root,pwsc->fd,0);
|
||||||
|
DPRINTF(ERR_DEBUG,"Done, freeing\n");
|
||||||
daap_free(root);
|
daap_free(root);
|
||||||
} else {
|
} else {
|
||||||
/* stream out the song */
|
/* stream out the song */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user