This PR adds support for the groupStatus flag of the Spotify ZeroConf API and a flag in the CLI to set it.
Motivation:
This allows differentiating between single and group devices when you have multiple Librespot instances or Connect devices on your network.
Notes:
The ZeroConf docs show GROUP and NONE as valid options for groupStatus.
There was no obvious short flag to set for the new group flag, so no short flag was set.
Verifying:
The new example at discovery/discovery_group.rs.
The command cargo run -- --name "Librespot Group" --group.
This PR adds support for the
groupStatus
flag of the Spotify ZeroConf API and a flag in the CLI to set it.Motivation: This allows differentiating between single and group devices when you have multiple Librespot instances or Connect devices on your network.
Notes: The ZeroConf docs show
GROUP
andNONE
as valid options forgroupStatus
. There was no obvious short flag to set for the newgroup
flag, so no short flag was set.Verifying: The new example at
discovery/discovery_group.rs
. The commandcargo run -- --name "Librespot Group" --group
.Example:![image](https://github.com/librespot-org/librespot/assets/55670930/a3053c41-49e9-4260-88f1-fad352db7bb0)
Let me know if you would like any changes!