Fix playback to Airplay devices #438
Replies: 12 comments 7 replies
|
just letting you know that on v1.0.17, and trying to play a Tunein Radio 4 Nl stream to my HomePod (select the stream in Radio, click Play in the bottom control section), I get: Even while nothing was playing at all.... not the stream seems to be |
|
ATV streaming implementation is flaky. I think the only way would be if MA is going to send the stream to airplay devices itself. |
|
for MA I guess that would safest. For HA, the ATV is a horror, and should be fixed nonetheless... the amount of errors is endless |
|
Agreed |
|
Moved to discussions, raise your votes! |
|
I think issues are not limited to MA or to the ATV implementation in HA. Interacting with AirPlay based media players is not really there. By AirPlay based I mean both Apple manufactured (atv, homepods), apple-licensed (i.e. Marantz/Denon receivers, tv's etc.) and OSS-based (i.e. shairport-sync). |
|
I can add a comment here. (as I'm the author of pyatv and the corresponding Apple TV integration). The reason Home Assistant cannot stream to plain AirPlay devices is because pyatv only supports AirPlay v1 devices. Since a lot (especially new) devices only support AirPlay v2, we decided to add a filter to not discover devices that aren't Apple devices. Ideally we would only ignore pure AirPlay v2 devices, but it's harder to do then one might think... My intention is to support AirPlay v2 devices too at some point, but I'm not sure when that will happen. I have basics ready, like setting up streams, but something still isn't working with the encryption of streamed audio. The filter only applies to discovery though, so it should be possible to add a device manually via IP (assuming the device support AirPlay v1). The streaming support is a bit unstable as it's very early in the development process. Especially when streaming from a remote source, e.g. via https (which is used by TTS) it will likely fail in a lot of cases. There's a very little buffer and pyatv does not handle buffer underruns very good. |
|
Regarding the first point, you might have been using the The second bullet is likely because of other bugs in the |
|
Hello - Is airplay (v1) support currently (as of 2022.8.4) broken, or a new feature? |
|
Is there any progress on this? I have lots of HomePods in my house and I would love to be able to stream from Home Assistant / Music Assistant to them. |
|
Same here. |
|
MA 2.0 beta has Airplay support. this feature request can be considered done. |
Uh oh!
There was an error while loading. Please reload this page.
The current state of the atv integration in HA is that it won't stream audio to Airplay speakers.
An official ATV 4K does work (sometimes) and Homepod is hit and miss.
Maybe we can fix something to send the stream directly to the pyatv library because MA is using a raw PCM stream internally.
All reactions