Scoopfeeds — Intelligent news, curated.
computer-science

Stop the Apple Music app from launching

Hacker News · Jun 8, 2026, 5:01 PM

Key takeaways

  • Configuration Since v1.1 you can configure Music Decoy to launch another app when the ▷ Play button is pressed.
  • To do that, run the following command in the Terminal (example for Spotify):
  • defaults write com.lowtechguys.MusicDecoy mediaAppPath /Applications/Spotify.app To reset the configuration, run:

Other apps Privacy Contact Music Decoy Stop launching the Music appwhenever you press ▶ Play Download View Source$brew install music-decoy Stop the Music app from launching As long as the Music Decoy app is running, the system Music app won't launch when you accidentally press ▶ Play.The app does absolutely no work in the background. It works by simply existing as a running process, thanks to having the same bundle identifier as the Music app.How it works?By having the bundle identifier com.apple.Music, the app makes the system think that the Music app is already running. Configuration Since v1.1 you can configure Music Decoy to launch another app when the ▷ Play button is pressed.

To do that, run the following command in the Terminal (example for Spotify):

defaults write com.lowtechguys.MusicDecoy mediaAppPath /Applications/Spotify.app To reset the configuration, run:

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop