mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 11:32:34 -05:00
[mpd] Report support for protocol version 0.20
This commit is contained in:
parent
f77c216650
commit
81753d44a7
@ -4501,7 +4501,7 @@ mpd_accept_conn_cb(struct evconnlistener *listener,
|
|||||||
* According to the mpd protocol send "OK MPD <version>\n" to the client, where version is the version
|
* According to the mpd protocol send "OK MPD <version>\n" to the client, where version is the version
|
||||||
* of the supported mpd protocol and not the server version.
|
* of the supported mpd protocol and not the server version.
|
||||||
*/
|
*/
|
||||||
evbuffer_add(bufferevent_get_output(bev), "OK MPD 0.18.0\n", 14);
|
evbuffer_add(bufferevent_get_output(bev), "OK MPD 0.20.0\n", 14);
|
||||||
client_ctx->evbuffer = bufferevent_get_output(bev);
|
client_ctx->evbuffer = bufferevent_get_output(bev);
|
||||||
|
|
||||||
DPRINTF(E_INFO, L_MPD, "New mpd client connection accepted\n");
|
DPRINTF(E_INFO, L_MPD, "New mpd client connection accepted\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user