postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
866 stars 94 forks source link

Stream to Homepod Stereo Pair #1665

Open charlesvestal opened 2 years ago

charlesvestal commented 2 years ago

What feature would you like?

When streaming to a homepod stereo pair, I see both as individually addressable homepods, but not as a stereo pair. I'd like to be able to stream (and control) the stereo pair, rather than individuals.

Describe the solution you'd like

When scanning for devices, detect a pair and show as an additional device.

Any other information to share?

I'm attempting (unsuccesfully) to get around this via an apple TV paired to the homepods, but I imagine there are users without an apple tv that would want to do the same.

shauder commented 2 years ago

There has been some work and success with this in OwnTone: https://github.com/owntone/owntone-server/issues/1413

wivaku commented 1 year ago

When comparing my two homepod mini's (set up as stereo pair) I have seen two service discovery outcomes for my actively playing stereo pair:

What they have in common:

Comparing the two situations in detail:

complete:

Format for gid/pgid: <tsid-UUID>+0+<some-other-UUID>

incomplete: Only gpn and flags are different between group leader and the non-group-leader. The flags are different than the complete example, but here as well: the group leader has bit 13 set.

Diffs for both situations:

image

wivaku commented 1 year ago

After updating from 16.1 to 16.2 all values are still the same, except:

srcvers=670.6.2
osvers=16.2
wivaku commented 1 year ago

any news / plans regarding support for homepod stereo pairs?

wveilleux commented 1 year ago

any news / plans regarding support for homepod stereo pairs?

postlund commented 1 year ago

No updates on that I'm afraid. It's a low priority for me right now, but certainly an interesting feature. At some point I might feel ready for it.