Music Decoy/Applicationsbrew install --cask music-decoyNothing. The app does absolutely nothing while running. 0% CPU all day long.
But by simply having it running, the macOS system won't launch the Music app whenever you accidentally press Play.
It won't launch Music even if you try to launch it manually! that might not actually be a good thing, but.. oh well
By having the same bundle identifier as the system Music app: com.apple.Music
In more technical terms, this is what I found out about how the ▷ Play mechanism works:
Play event is caught by the rcd daemon (living at /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd)rcd checks if any running app has com.apple.Music as its bundle identifier
com.apple.Music app, rcd launches the system Music appThe app has no Dock icon and no menubar icon so to quit it you'd need to do one of the following:
killall 'Music Decoy'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:
defaults delete com.lowtechguys.MusicDecoy mediaAppPath
Based on this StackExchange answer, there are a few different ways to achieve the same effect:
launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
I think they were only asked once, and they might not even be questions but I might as well record the info for posterity.
Looks like VLC tries to use ScriptingBridge to send commands to the Music app.
warning: failed to get scripting definition from /Applications/Music Decoy.app; it may not be scriptable.
-[SBApplication playerState]: unrecognized selector sent to instance 0x600003399050
You can fix this by configuring the following setting:

You can use this macOS Shortcut: Music.shortcut
It will quit Music Decoy and launch the Music app, with a small delay between the two actions.
You can add it to your Dock for easy access:

Objective-C
100.0%
Music Decoy/Applicationsbrew install --cask music-decoyNothing. The app does absolutely nothing while running. 0% CPU all day long.
But by simply having it running, the macOS system won't launch the Music app whenever you accidentally press Play.
It won't launch Music even if you try to launch it manually! that might not actually be a good thing, but.. oh well
By having the same bundle identifier as the system Music app: com.apple.Music
In more technical terms, this is what I found out about how the ▷ Play mechanism works:
Play event is caught by the rcd daemon (living at /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd)rcd checks if any running app has com.apple.Music as its bundle identifier
com.apple.Music app, rcd launches the system Music appThe app has no Dock icon and no menubar icon so to quit it you'd need to do one of the following:
killall 'Music Decoy'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:
defaults delete com.lowtechguys.MusicDecoy mediaAppPath
Based on this StackExchange answer, there are a few different ways to achieve the same effect:
launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
I think they were only asked once, and they might not even be questions but I might as well record the info for posterity.
Looks like VLC tries to use ScriptingBridge to send commands to the Music app.
warning: failed to get scripting definition from /Applications/Music Decoy.app; it may not be scriptable.
-[SBApplication playerState]: unrecognized selector sent to instance 0x600003399050
You can fix this by configuring the following setting:

You can use this macOS Shortcut: Music.shortcut
It will quit Music Decoy and launch the Music app, with a small delay between the two actions.
You can add it to your Dock for easy access:

Objective-C
100.0%