mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-31 17:43:22 -05:00
[mpd] Add support for "mpc sendmessage verification [pincode]"
This commit is contained in:
parent
5e48a68525
commit
299a8f9e4b
10
src/mpd.c
10
src/mpd.c
@ -3523,6 +3523,12 @@ channel_pairing(const char *message)
|
|||||||
remote_pairing_kickoff((char **)&message);
|
remote_pairing_kickoff((char **)&message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
channel_verification(const char *message)
|
||||||
|
{
|
||||||
|
player_raop_verification_kickoff((char **)&message);
|
||||||
|
}
|
||||||
|
|
||||||
struct mpd_channel
|
struct mpd_channel
|
||||||
{
|
{
|
||||||
/* The channel name */
|
/* The channel name */
|
||||||
@ -3546,6 +3552,10 @@ static struct mpd_channel mpd_channels[] =
|
|||||||
.channel = "pairing",
|
.channel = "pairing",
|
||||||
.handler = channel_pairing
|
.handler = channel_pairing
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.channel = "verification",
|
||||||
|
.handler = channel_verification
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.channel = NULL,
|
.channel = NULL,
|
||||||
.handler = NULL
|
.handler = NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user