tlk / beoplay-macos-remote-gui

Remote control B&O Beoplay loudspeakers from macOS
MIT License
16 stars 1 forks source link

Pausing a device that is member of a multiroom group pauses the whole multiroom #20

Open mbolo01 opened 4 years ago

mbolo01 commented 4 years ago

When pausing a device that is a secondary member of a multiroom group, the multiroom master device is paused too. Normal behavior should be to pause only the selected device. In case the selected product is the multiroom master, then all devices member of the multiroom are paused or stop receiving multiroom flow.

tlk commented 4 years ago

Bonjour! I wonder what messages are going over the wire to the device in this scenario? I suspect it might be join/leave commands as in https://github.com/tlk/beoplay-macos-remote-gui/issues/13#issuecomment-557222762.

mbolo01 commented 4 years ago

Bonjour! I realized that I'm mixing hard and soft functions, let me explain: Once a product has joined a multiroom group, e.g. by pressing the physical play/start device's button, pressing it again pauses the device and pressing it again resumes the multiroom flow. When paused, the B&O app still sees the paused device in the multiroom group, so it does not look like a multiroom leave, but more like a device sound mute. I don't find an equivalent in the B&O App either as the sound mute option (speaker icon in the middle of the volume circle) is not available for devices member of a multiroom group that can no longer be controlled as individual devices, only the master can be controlled. When pressing the mute on the master, it behaves exactly like pressing the pause in the BeoplayRemoteGUI, i.e. all multiroom devices have their sound turned off while still being part of the multiroom group. Maybe this is one of the reasons why the B&O app does not expose individual control of multiroom members out of the multiroom screen which only enables the following devices control when part of a group: leave and volume up/down. It is really time for B&O to ship you a second device .... but more chances that Santa Claus can bring one :-)

tlk commented 4 years ago

Bonjour Jérôme! Lol, yes I wont mind receiving additional devices from Santa :-)

My current understanding of how to mimic the original behaviour:

  1. Detect when a device is following a multiroom group
  2. Hide controls (play,etc) when that is the case
mbolo01 commented 4 years ago

Bonsoir Thomas! Your proposal is ok, the only controls that should be available for a multiroom member would be volume, Join/Leave multiroom and standby. Kind regards. Jérôme