Skip to main content

resolve_speaker

Function resolve_speaker 

Source
pub fn resolve_speaker(
    system: &SonosSystem,
    config: &Config,
    global: &GlobalFlags,
) -> Result<Speaker, CliError>
Expand description

Resolve –speaker / –group flags to a Speaker handle.

Priority: –group wins over –speaker. If neither is given, uses config default or falls back to the first group’s coordinator.