Skip to Content
Sindre Sorhus
Back to Actions

Updated

How to Check if Audio Is Playing in Shortcuts on iPhone

By Sindre Sorhus, who makes the Actions app

With Actions

  1. Install Actions, and open it once.
  2. In your shortcut, add the “Is Audio Playing” action of Actions.
  3. Add an “If” action below it that checks if the result is true.
  4. Put the actions for when audio plays in the “If” part, and the other actions in the “Otherwise” part.

For example, the shortcut can resume a podcast only when nothing else plays.

The action returns what iOS reports, and iOS is sometimes wrong:

  • It returns true while the microphone is on, and for a while after a call ends.
  • It returns true when “Sound Recognition” is on in the Accessibility settings.
  • It returns false when the audio plays through AirPlay.

The action is for iPhone and iPad. It does not work on Mac.

Get Actions

Additional actions for the Shortcuts app

Download on the App Store

Free

Requires
iOS 26 or later
Updated
June 2026
US App Store rating
4.8/5 (703 ratings)

More about Actions

Without an app

For the Music app, add the “Get Current Song” action, and an “If” action that checks if its result has any value. The action gets the song that plays in the Music app, so it does not see the audio of other apps, like a podcast app.

If you only want to stop the audio, use the “Play/Pause” action, and set it to “Pause”.