nicokaiser / rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
MIT License
1.37k stars 148 forks source link

bluetooth (dis-)connect sound not playing #77

Closed marcelmu closed 2 years ago

marcelmu commented 3 years ago

I'm probably just missing a minor detail, but those nice sounds for adding/removing a bluetooth device are not working for me.

So the udev Rule is in place and I verified it's executed. The wav files are there and I can play them by calling the aplay command manually. But when ran from the udev rule, the speakers stay quiet.

Is there some configuration to make (rights/groups or something)?

nicokaiser commented 2 years ago

Maybe the audio device is busy because of being connected to Bluetooth audio... this may happen in some constellations where the hardware device does not have a mixer. This is why I removed the connect sound altogether, this should be as simple as possible...