A little bit of context: I’m configuring a RaspBerry Pi4 8GB with an Samsung T7 SSD as a portable travel desktop computer in conjunction with an iPad Pro 12" with MagicKeyboard which acts as GUI terminal. I can hook up the RasPi over USB-C networking, and power it from the iPad, and with xrdp and the Apple MagicKeyboard I have keyboard and mouse support.
I managed to get the pulse-audio-xrdp modules working, so for the most part, even audio input and output works using the iPad’s speakers and microphone. This makes for a decent desktop working environment, particularly when traveling.
Since this may not the only configuration, I also want to get Cantata/Mopidy working as a combination.
If I start mopidy as service, it latches on to the RasPi hardware audio, and doesn’t recognize the xrdp audio sink device. So to use the combination, I have to manually start mopidy from the shell, after logging in, and then launch Cantata.
This isn’t particularly pleasant, especially as I may want to use it also in other configuraitons, like e.g. hooking it up to a stereo with an audio cable.
Is there some way to configure mopidy to recognize new audio sinks as they become available, and allow connection to them?