I’ve just become a fan of Spotify and one thing that I’ve been having trouble with on the Mac is trying to bypass iTunes always opening when I click the Play/Pause button even with Spotify open.
The workaround below with allow you to disable the iTunes controls on the keyboard and will instead work for spotify or whichever other music application is open.
The solution I have found to fix this issue to:
1. Open Terminal
2. Place one of the codes below into Terminal:
3. Problem Solved!
Dr. Elijah Clark (July 17, 2012). Disable iTunes Controls on Mac Keyboard [Web log post]. Retrieved from https://elijahclark.com/disable-itunes-controls-on-mac-keyboard/