masmu / pulseaudio-dlna

A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux
GNU General Public License v3.0
1.25k stars 162 forks source link

Disconnect destination if audio source changed to non pulseaudio-dnla output #344

Open stuaxo opened 6 years ago

stuaxo commented 6 years ago

I'm not sure on my terminology here...

My setup is

laptop and av-reciever

If I run pulseaudio-dnla and then in my sound settings I can choose the AV receiver, the receiver changes its input and starts playing the audio.

When I change the audio source on the laptop to something else, like internal speakers - it works, but the av-receiver doesn't change back to whatever it was connected before.

Would it be possible to send some sort of disconnect message when the user changes to an output not handled by pulseaudio-dnla ?