Open Jack-GH2000 opened 10 months ago
This seems necessary to gracefully set a playback destination via an automation.
I have multiple automations that run when my iPad starts charging with the goal of setting the playback destination. I need to select a specific USB audio interface after being docked. However, there are times where I connect a charger and the specified USB audio interface is not available. When you try to set the playback destination to one that's not available, it hits you without multiple notifications about how it failed to do so. This issue is exacerbated when you have different USB audio interfaces connected to different docks at different locations.
If there was an action to retrieve a list of available audio output devices, I could use an if-statement to fail gracefully.
Description
List all Playback devices (Not just currently selected)