mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -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);
|
||||
}
|
||||
|
||||
static void
|
||||
channel_verification(const char *message)
|
||||
{
|
||||
player_raop_verification_kickoff((char **)&message);
|
||||
}
|
||||
|
||||
struct mpd_channel
|
||||
{
|
||||
/* The channel name */
|
||||
@ -3546,6 +3552,10 @@ static struct mpd_channel mpd_channels[] =
|
||||
.channel = "pairing",
|
||||
.handler = channel_pairing
|
||||
},
|
||||
{
|
||||
.channel = "verification",
|
||||
.handler = channel_verification
|
||||
},
|
||||
{
|
||||
.channel = NULL,
|
||||
.handler = NULL
|
||||
|
Loading…
Reference in New Issue
Block a user