Actions
Actions copied to clipboard
'Is Audio Playing' also triggers when microphone is active
Description
The description for the 'Is Audio Playing' action states that it: 'Returns whether there is audio currently playing on the device.'
I love the idea of this action 'cause it could help detect whenever my alarm goes off (which goes off in a window of 30 minutes through the Sleep Cycle app).
But I've found that it also triggers whenever the microphone is active / a recording is running. For example, it triggers whenever I record a voice note (so it's not playing audio, just recording) and also whenever my Sleep Cycle alarm is on in the background since the app uses the microphone to track sleep patterns. So in its current state it's unfortunately not useable for my use case.
macOS/iOS version
iOS 16.3.1
Shortcut URL
No response
[Bump]
Unfortunately, I don't think there's anyway to fix this. The action is simply presenting the value from iOS: https://developer.apple.com/documentation/avfaudio/avaudiosession/1616610-isotheraudioplaying