Closed ddppddpp closed 1 year ago
Thanks for the interesting post. It seems that Home Assistant is using pyatv to do remote control of AirPlay devices, but unfortunately, Shairport Sync just doesn't recognise any of the recent AirPlay remote control protocols.
It's one of those things that would be really nice to have, but Apple has not published anything about them, and so making progress is very difficult indeed.
I understand how this is a challenge. I’m going to check further with pyatv.
Thanks for this post, this is what I am looking for also. I know its complicated, but did any of you get forward on this?
Thanks!
What happened?
I've setup shairtport-sync on a newly updated Raspian bullseye (Rpi 3-B). I can successfully stream media from various iOS devices with no issues. I've then gone and configured same shairport-sync device as an apple-tv integration on home assistant. When attempting to stream media form home assistant to shairport sync I get the following home assistant error:
pyatv.exceptions.HttpError: HTTP/1.1 method POST failed with code 400: Bad Request
Obviously, this could be a home assistant issue and I'll be happy to pursue it with their team if needed. Tried various media types and formats. I'm providing the output ofshairport-sync -vvv
. Relevant section should be for connection 4.Relevant log output
System Information.
RPi 3 model B Rev 1.2 Rasbian bullseye 6.1.21-v7+ Output device - headphone jack home assitant 2023.9.3
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues