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!