10-09-2022, 03:26 AM
I've written a service to automatically increase and decrease the volume using the API based on vehicle speed and recently found it will override the mute setting because changing the volume disables mute. Is there a way to detect if the sound is muted (either by querying OAP or Raspberry Pi OS) so that I could integrate that into my volume control service to disable volume changes until unmuted?