mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 18:06:04 -05:00
Mimic iTunes and reply 204 No Content to playqueue-edit&add
This commit is contained in:
parent
07702746df
commit
1ec1528f3b
@ -1391,11 +1391,8 @@ dacp_reply_playqueueedit_add(struct evhttp_request *req, struct evbuffer *evbuf,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
dmap_add_container(evbuf, "cacr", 24); /* 8 + len */
|
/* 204 No Content is the canonical reply */
|
||||||
dmap_add_int(evbuf, "mstt", 200); /* 12 */
|
evhttp_send_reply(req, HTTP_NOCONTENT, "No Content", evbuf);
|
||||||
dmap_add_int(evbuf, "miid", ps->id); /* 12 */
|
|
||||||
|
|
||||||
httpd_send_reply(req, HTTP_OK, "OK", evbuf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user