What can I do to stop the Play / Pause button from opening iTunes?

Update: There is a GUI available that performs the below steps, at the official website.

Fixing this is very simple. While the installation process does involve using Mac Terminal, you do not need any knowledge of it. I have included images to make it easier! Just follow 6 simple instructions below and you are done!

  1. Download this zip file

  2. Unzip the file

  3. Run the Patch.command file (Double Click It)

  4. It will open mac terminal. It will most likely prompt you to enter your password. Type your password and press enter. It should look similar to the image below:

    step 4

  5. At the bottom it will say "Everything is ready. Would you like to create a backup and apply the patch (y/N)". Type y, then press Enter. It should look similar to the image below:

    Step 5

  6. You are done! It should output some text and say [Process Complete] at the bottom. You can then close the mac terminal window. The process completing successfully should look similar to the image below:

    Step 6

Uninstall

If you want to remove this patch, simply run the Patch.command script again.

Here is the github repository Thanks to thebitguru for this script.


The real solution: Open Terminal, paste in the following line, and hit enter. You're done. To undo, change unload to load in the same line.

launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist

For controlling Spotify, use Shift + Option + Play button. iTunes does not react to this combination, but Spotify does.