[mpd] ignore requests for client to client commands "subscribe",
"unsubscribe", "readmessages", "sendmessages"
This commit is contained in:
parent
decc482e2c
commit
68c392eb9e
12
src/mpd.c
12
src/mpd.c
|
@ -3492,30 +3492,26 @@ static struct command mpd_handlers[] =
|
||||||
/*
|
/*
|
||||||
* Client to client
|
* Client to client
|
||||||
*/
|
*/
|
||||||
/*
|
|
||||||
{
|
{
|
||||||
.mpdcommand = "subscribe",
|
.mpdcommand = "subscribe",
|
||||||
.handler = mpd_command_subscribe
|
.handler = mpd_command_ignore
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.mpdcommand = "unsubscribe",
|
.mpdcommand = "unsubscribe",
|
||||||
.handler = mpd_command_unsubscribe
|
.handler = mpd_command_ignore
|
||||||
},
|
},
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
.mpdcommand = "channels",
|
.mpdcommand = "channels",
|
||||||
.handler = mpd_command_ignore
|
.handler = mpd_command_ignore
|
||||||
},
|
},
|
||||||
/*
|
|
||||||
{
|
{
|
||||||
.mpdcommand = "readmessages",
|
.mpdcommand = "readmessages",
|
||||||
.handler = mpd_command_readmessages
|
.handler = mpd_command_ignore
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.mpdcommand = "sendmessage",
|
.mpdcommand = "sendmessage",
|
||||||
.handler = mpd_command_sendmessage
|
.handler = mpd_command_ignore
|
||||||
},
|
},
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NULL command to terminate loop
|
* NULL command to terminate loop
|
||||||
|
|
Loading…
Reference in New Issue