pyatv icon indicating copy to clipboard operation
pyatv copied to clipboard

Possibility to set audio output like airplay, hdmi, ...

Open tgreve85 opened this issue 5 years ago • 4 comments

It qould be great to set the audio outputs with your great api. Always, when the atv starts, it streams sound out of the hdmi connector but I want to stream to my Sonos Play:5 via airplay.

Thank you for this powerful api!

tgreve85 avatar Jul 22 '20 11:07 tgreve85

That sounds like a good idea. I have no idea how external devices are handled protocol-wise. How are you changing output now? Via the sound menu? Or action center?

postlund avatar Jul 22 '20 19:07 postlund

I am changing with long press on the tv button (top right) on the remote. Then i scroll down tot he last icon in the menu. Click it and there is by default my apple tv and under it my sonos play:5. Then I select the play:5 and unselect the apple-tv. Now the sound came over airplay in my home cinema with 5.1 surround 😉

Von: Pierre Ståhl [email protected] Gesendet: Mittwoch, 22. Juli 2020 21:10 An: postlund/pyatv [email protected] Cc: Tim Greve [email protected]; Author [email protected] Betreff: Re: [postlund/pyatv] Possibility to set audio output like airplay, hdmi, ... (#778)

That sounds like a good idea. I have no idea how external devices are handled protocol-wise. How are you changing output now? Via the sound menu? Or action center?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/postlund/pyatv/issues/778#issuecomment-662636094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB3HBAGXP3QLL3NAMNB62HDR442RRANCNFSM4PETB2FQ.

tgreve85 avatar Jul 23 '20 10:07 tgreve85

Yes this would be an amazing feature. I have an AppleTV HD and HomePod. Since tvOS 14.2 AppleTV 4K and up support permanent audio output through HomePod but for anyone with an older AppleTV we have to select the output speaker manually every time we turn on the AppleTV. I am able to turn on my projector with the home app, it would be great to be able to maken an automation: when the projector turns on, turn on airplay switch. Where the airplay switch would be a switch in HA that through the magic of this great integrations changes the audio output of the AppleTV to a specified speaker. This would bring permanent audio support to older appleTV's

tonysprenk avatar Nov 16 '20 21:11 tonysprenk

Hi, thanks again for such a great library. I'm also interested in this feature in a more general sense (e.g. it'd be nice to trigger an automation that extends music playing from a HomePod in one room to a HomePod in another).

shamanskyh avatar Dec 22 '21 23:12 shamanskyh

This is possible since 0.13.0.

postlund avatar Jul 11 '23 11:07 postlund