[mpd] Set protocol version back 0.20.0

Announcing 0.22.4 without supporting the newer protocol's filters breaks Rigelian
This commit is contained in:
ejurgensen 2024-09-12 17:15:48 +02:00
parent 2bf0505cca
commit 3c99e5a35c

View File

@ -4615,7 +4615,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.22.4\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");