postlund / pyatv

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

White light but no audio when streaming to HomePod Mini #2479

Open sverrirarnors opened 3 months ago

sverrirarnors commented 3 months ago

What do you need help with?

I've been trying this package using the following command on a HomePod Mini

ffmpeg -i http://netradio.ruv.is:80/ras1.mp3 -f mp3 - | atvremote -n <name> stream_file=-

What happens is that a white glowing light appears on the HomePod, but no audio plays. If I check in the Home app, it says that the HomePod is playing, but there isn't really anything going on.

I've also tried passing the path directly in the stream_file argument, as well as streaming a local file, but the same thing happens. I also tried to factory reset the HomePod, but to no avail.

Do you have any pointers about how I can proceed with this? Is there anything more I could try?

xXxNIKIxXx commented 3 months ago

I am encountering the same problem. I have a Python application that streams an FFmpeg stream to the HomePod. After the latest update, it broke. However, downgrading the library version back to 0.14.5 makes it work again.

postlund commented 3 months ago

That's interesting, will have to check that. I haven't made any changes to AirPlay streaming, maybe is related to some external library (like miniaudio). Is it the same with local files?

xXxNIKIxXx commented 3 months ago

For me using an local file with the Path also doesen't work.

sverrirarnors commented 3 months ago

Using the 0.14.5 version worked for me as well @xXxNIKIxXx

postlund commented 2 months ago

This should be fixed in 0.15.1, please give it a try!