Trigger: Media Button V2 Beta

Revision as of 20:51, 6 January 2026 by MacroDroidDev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The Media Button V2 (Beta) trigger fires when a media button such as play, stop, skip, or other media controls is pressed. This is an alternative implementation to the standard Media Button Pressed trigger that uses notification access to detect media button events, providing broader compatibility with different types of media buttons and controls.

Options

You can select one or more of the following media button events to trigger on:

  • Play - Fires when the play button is pressed
  • Play/Pause - Fires when the play/pause toggle button is pressed
  • Pause - Fires when the pause button is pressed
  • Stop - Fires when the stop button is pressed
  • Previous - Fires when the previous track button is pressed
  • Next - Fires when the next track button is pressed
  • Headset Hook - Fires when the headset hook button is pressed (typically the main button on wired headphones)
  • Fast Forward - Fires when the fast forward button is pressed
  • Rewind - Fires when the rewind button is pressed

Configuration

  • Multiple button types can be selected for a single trigger
  • The "Trigger Options" link in the configuration dialog provides access to additional media button settings in MacroDroid preferences

Requirements

  • This trigger requires Notification Access permission to be granted to MacroDroid

Examples

Example 1: Log which media button was pressed

Triggers

Media Button V2 (Beta): Play, Pause, Next, Previous
Actions

System Log: Media button pressed

Example 2: Skip tracks with next/previous buttons

Triggers

Media Button V2 (Beta): Next
Actions

Control Media: Next Track

Notes

  • This is a beta feature and behavior may change in future versions
  • This trigger uses a different detection method than the standard Media Button Pressed trigger and may work better on some devices
  • The trigger requires notification access rather than registering as a media button receiver
  • Consider using the standard Media Button Pressed trigger if this one does not work reliably on your device

See Also