Published Sunday November 21, 2010
This is a patch for removing the default OS X behavior of always starting iTunes when the play button on the keyboard is pressed. This feature can be useful for a lot of users, but it can also be annoying if you are using VLC or other similar programs that support the media keys.
Patch.command script will patch the Remote Control Daemon to prevent it from starting iTunes whenever you press the play button on the keyboard or an external remote control. This will only prevent iTunes from starting, all other functions (like play/pause while iTunes is running) will continue to work as before.
Lastly, this program will backup the original file in case if you would like to restore the original functionality.
You can find the source code on github.
Please create an issue on github so we can track the progress.
2014-12-21 farhan: I am almost done with a new GUI based app. Please see the download section below for details.
2013-05-11 farhan: Updated to 0.8.2. Added step to self-sign the modified binary. This should prevent rcd from crashing on Mountain Lion. Thanks to user48986 at AskDifferent .
2011-08-18 farhan: Updated to 0.8 to account for spaces in the directory name (thanks to Michael Winstock for submitting the patch!).
2011-07-26 farhan: If you are upgrading to OS X Lion with a previously patched file then please note that the OS X Lion upgrade process replaces the patched file with an updated version so you will have to re-run this to patch the latest file.
I am testing a new GUI-based patching application, if you are willing to try it out, please download it here. Please leave a comment here if this new app works OK for you. If you find a problem please submit an issue on github.
After downloading double click on
Patch.command and follow the prompt.
Copyright (C) 2010 Farhan Ahmad. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.