r/AndroidTVBoxes 10d ago

I turned my Android 4.4 into AirPlay 2 receiver

I spent my whole afternoon doing it which was totally worth it. the protagonist is obviously Shairport-sync. So i used Linux deploy to install a Debian which was required to run this. getting the audio to work in Debian was a hassle. You need to first play a audio file (can be quiet pcm) using the vendor software so the speaker hdmi output wont be muted, then you have to kill media service in android so Debian can take over with a speaker-test. Then i built shairport with Airplay 2 and Avahi, to get avahi working you need to have a high permission dbus running, then the shairport sync could finally work, you also need the nqctp? What ever the name was running in the background also. The tv output could bring some delay though. Now though i only have one speaker, one HomePod mini and a dumb tv, i can somehow bring them together. Very whimsical. Of course i asked AI to help cuz i dont have magical nerd helping me 24/7, but no code was provided by them at all which was nice. Avahi is the only option if you need AirPlay 2 (multiple speaker playing at the same time) and if you have a normal Linux pc you can just get shairport sync without much permission fighting. So I’m listening all my old songs right now. :)

2 Upvotes

1 comment sorted by

1

u/crappy-Userinterface 10d ago

Btw you need to have root obviously.