You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to use Music Decoy to redirect the Play button to launch Spotify instead of Apple Music. However, despite following the instructions and verifying the configuration, Spotify does not launch or play when I press the Play button.
Steps to Reproduce
Installed Music Decoy via Homebrew:
brew install music-decoy
and moved it to /Applications.
Set the mediaAppPath to Spotify using the following command:
I just tested this again and it works as expected: when play is pressed, Spotify is launched (might need to press it twice after the first MusicDecoy launch)
The event doesn't also send play to Spotify like you do in AppleScript, it just launches it. From that point, play events will be routed by the system to Spotify or whatever app is in Now Playing.
I just want to add that I observe exactly the same behaviour using the same MacOS version, almost the same laptop and with Spotify for macOS (Apple Silicon) 1.2.56.502.ga68d2d4f. I tried installing using homebrew and also downloading directly from the Music decoy website.
I’m trying to use Music Decoy to redirect the Play button to launch Spotify instead of Apple Music. However, despite following the instructions and verifying the configuration, Spotify does not launch or play when I press the Play button.
Steps to Reproduce
Installed Music Decoy via Homebrew:
and moved it to
/Applications
.Set the mediaAppPath to Spotify using the following command:
Verified the configuration by running:
defaults read com.apple.MusicDecoy mediaAppPath
Output:
/Applications/Spotify.app
Ensured Music Decoy is running (confirmed via Activity Monitor).
Pressed the Play button, but Spotify does not launch or play. Instead, the Music app icon bounces but does not open.
Debugging Steps
Tested Spotify with AppleScript:
Ran the following command in Script Editor:
Result: Spotify launched and started playing successfully. This confirms Spotify is scriptable and can receive AppleEvents.
Checked Permissions:
Granted Music Decoy and Spotify the following permissions in System Settings > Privacy & Security:
However, I could not change the Automation settings in System Settings.
Ran Music Decoy in Terminal:
Launched Music Decoy from the Terminal to observe logs:
Pressed the Play button, but no errors or logs were displayed.
Tested with Another App:
Set the mediaAppPath to VLC:
Result: VLC did not launch when pressing the Play button.
Recreated the Preference File:
Deleted the preference file and reconfigured Music Decoy:
rm ~/Library/Preferences/com.apple.MusicDecoy.plist defaults write com.apple.MusicDecoy mediaAppPath /Applications/Spotify.app
Result: No change in behavior.
Expected Behavior
When pressing the Play button, Music Decoy should:
Actual Behavior
System Information
Additional Context
The issue persists even after reinstalling Music Decoy and Spotify.
Let me know if you need further details or logs to debug this issue. Thanks for maintaining this useful tool!
The text was updated successfully, but these errors were encountered: