philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.53k stars 218 forks source link

Running docker on Raspberry Pi 4 B Ubuntu Desktop but devices not showing on the Raspberry Pi itself #371

Closed jrahkala closed 3 years ago

jrahkala commented 3 years ago

Hello,

I bought a new Raspberry Pi 4 B 8GB model today and installed Ubuntu Desktop 64bit (for Raspberry Pi) on it. Airconnect Docker seems to run fine and working, since I can see the devices (Google Nest Audio and Google Nest Mini) on my Linux Mint laptop and they work flawleslly. However my goal was to run AirConnect on that Raspberry Pi and play music and radio from that Raspberry Pi itself. Now the Pi itself does not see the devices altough my other devices see them.

Have i gotten this all wrong, on my Linux Mint laptop if I run AirConnect I see the devices on the laptop itself, why isn't this the case with the Raspberry Pi?

jrahkala commented 3 years ago

I have now spent hours to figure this out and now I'm trying to enable "Make Apple AirTunes sound devices available locally" from paprefs. The option is greyed out. On my working Linux Mint installation I can enable that option and it is the one that seems to get those devices to be locally available. Any tips how to make that option available to be enabled?

jrahkala commented 3 years ago

Got it to work finally! If someone is facing the same issue I'll try to help.

pacmd load-module module-raop-discover

That was the key I think. There were some other tricks I did, I'll try to figure out what exactly was the problem if someone needs help.

jrahkala commented 3 years ago

sudo apt-get install pulseaudio-module-raop pacmd load-module module-raop-discover

Now I seem to have those devices discoverd as doubles :-) I think I resolved the problem twice it seems...