mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
[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
|
||||
*/
|
||||
/*
|
||||
{
|
||||
.mpdcommand = "subscribe",
|
||||
.handler = mpd_command_subscribe
|
||||
.handler = mpd_command_ignore
|
||||
},
|
||||
{
|
||||
.mpdcommand = "unsubscribe",
|
||||
.handler = mpd_command_unsubscribe
|
||||
.handler = mpd_command_ignore
|
||||
},
|
||||
*/
|
||||
{
|
||||
.mpdcommand = "channels",
|
||||
.handler = mpd_command_ignore
|
||||
},
|
||||
/*
|
||||
{
|
||||
.mpdcommand = "readmessages",
|
||||
.handler = mpd_command_readmessages
|
||||
.handler = mpd_command_ignore
|
||||
},
|
||||
{
|
||||
.mpdcommand = "sendmessage",
|
||||
.handler = mpd_command_sendmessage
|
||||
.handler = mpd_command_ignore
|
||||
},
|
||||
*/
|
||||
|
||||
/*
|
||||
* NULL command to terminate loop
|
||||
|
Loading…
Reference in New Issue
Block a user