mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 08:33:23 -05:00
Bump DACP protocol version
This commit is contained in:
parent
76621797e2
commit
d6d7450557
@ -735,15 +735,22 @@ dacp_reply_ctrlint(struct evhttp_request *req, struct evbuffer *evbuf, char **ur
|
|||||||
dmap_add_char(evbuf, "muty", 0); /* 9 */
|
dmap_add_char(evbuf, "muty", 0); /* 9 */
|
||||||
dmap_add_int(evbuf, "mtco", 1); /* 12 */
|
dmap_add_int(evbuf, "mtco", 1); /* 12 */
|
||||||
dmap_add_int(evbuf, "mrco", 1); /* 12 */
|
dmap_add_int(evbuf, "mrco", 1); /* 12 */
|
||||||
dmap_add_container(evbuf, "mlcl", 74); /* 8 + len */
|
dmap_add_container(evbuf, "mlcl", 125); /* 8 + len */
|
||||||
dmap_add_container(evbuf, "mlit", 66); /* 8 + len */
|
dmap_add_container(evbuf, "mlit", 117); /* 8 + len */
|
||||||
dmap_add_int(evbuf, "miid", 1); /* 12 */ /* Database ID */
|
dmap_add_int(evbuf, "miid", 1); /* 12 */ /* Database ID */
|
||||||
dmap_add_char(evbuf, "cmik", 1); /* 9 */
|
dmap_add_char(evbuf, "cmik", 1); /* 9 */
|
||||||
|
|
||||||
|
dmap_add_int(evbuf, "cmpr", (2 << 16 | 1)); /* 12 */
|
||||||
|
dmap_add_int(evbuf, "capr", (2 << 16 | 2)); /* 12 */
|
||||||
|
|
||||||
dmap_add_char(evbuf, "cmsp", 1); /* 9 */
|
dmap_add_char(evbuf, "cmsp", 1); /* 9 */
|
||||||
|
dmap_add_char(evbuf, "aeFR", 0x64); /* 9 */
|
||||||
dmap_add_char(evbuf, "cmsv", 1); /* 9 */
|
dmap_add_char(evbuf, "cmsv", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "cass", 1); /* 9 */
|
dmap_add_char(evbuf, "cass", 1); /* 9 */
|
||||||
|
dmap_add_char(evbuf, "caov", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "casu", 1); /* 9 */
|
dmap_add_char(evbuf, "casu", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "ceSG", 1); /* 9 */
|
dmap_add_char(evbuf, "ceSG", 1); /* 9 */
|
||||||
|
dmap_add_char(evbuf, "cmrl", 1); /* 9 */
|
||||||
|
|
||||||
httpd_send_reply(req, HTTP_OK, "OK", evbuf);
|
httpd_send_reply(req, HTTP_OK, "OK", evbuf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user