Constraint: Music Active

Revision as of 13:28, 9 January 2026 by MacroDroidDev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This constraint allows or prevents a macro/feature from running based on whether music or audio is currently playing.

Options

  • Music Active: Constraint passes only when audio is playing
  • Not Playing: Constraint passes only when no audio is playing

Example

Example 1: Pause playback when headphones are removed

Triggers

Headphones Insert/Removed - Disconnected
Actions

Control Media (Pause)
Constraints

Music Active - Playing

See Also