[mpd] Report support for protocol version 0.20

This commit is contained in:
chme 2018-05-31 06:41:52 +02:00 committed by ejurgensen
parent f77c216650
commit 81753d44a7

View File

@ -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
* 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);
DPRINTF(E_INFO, L_MPD, "New mpd client connection accepted\n");