Psychlist writes:
> There isn't a SoCo-native way of doing this, but the capability exists in
> the underlying UPnP control plane.
>
> The UPnP function definition is:
>
> DelegateGroupCoordinationTo(InstanceID: ui4, NewCoordinator: string,
> RejoinGroup: boolean) -> {}
>
> To use this in SoCo, if speaker_1 is the coordinator, and speaker_2 is a
> group member, group coordination control can be passed to speaker_2 using:
>
> bool_result = speaker_1.avTransport.DelegateGroupCoordinationTo([(
> "InstanceID", 0), ("NewCoordinator", speaker_2.uid), ("RejoinGroup", 1)])
>
> While I know that the function works, I've only given it superficial
> testing. Might be something worth adding as a native SoCo function.
Interesting - thanks for that. Had no idea about it. I will give it some
testing and open a PR for a native SoCo function.
Thanks.
>
> -- Peter
> On Monday, February 1, 2021 at 9:24:28 AM UTC
pa...@matos-sorge.com wrote:
>
>>
>> Hi,
>>
>> On an event I want to play a local file on a speaker without disturbing
>> the rest of the network. This speaker is not in a stereo group but it might
>> be a group coordinator, so I cannot afaiu remove him from the group without
>> destroying the group. Is there a way to swap the coordinator of a group
>> while keeping the state intact?
>>
>> Regards,
>>
>> Paulo Matos
>>
--
Paulo Matos