Published Sunday November 21, 2010
2013-05-11: I am thinking that the required codesign utility is part of xcode. Investigating…
2013-05-11: This now works in OS X Moutain Lion.
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.
The 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.
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.
Play Button iTunes Patch 0.8.2
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.
Comments
Based on what I have seen so far I believe remote control daemon (rcd) controls the launching of programs and implements a lot of the other multimedia related functionality when using remote and other multi-media keys on the keyboard. I have seen that without rcd iTunes wouldn't respond to any of the multimedia keys (rewind/forward), but I haven't confirmed that.
Every time I try to run the patch I get a empty Terminal window..
Anybody knows what to do?
Thanks!
Just one quick question. Would it be possible to add a feature to
the script to adjust the path of the launched app when pressing the play/pause button? (for e.g. Sonora, Pulsar, VLC)
Sometimes when my Mac (Lion 10.7.4) comes back from sleep, the up/down keys on my apple remote changes the volume. I wonder if this patch could disable that too?
The strange thing is after a reboot, the remote wont change the volume anymore, but its not ideal to have to reboot to solve this.
The up/down volume keys interfere with my navigation in the media player app I use (XBMC)
If the mapping changes after coming back from sleep then my guess would be that a third party program is interfering. Have you reviewed your third party programs to see if they might have a clue?
Good luck
map[found_at+21:found_at+37] = "org.videolan.vlc"
Thanks anyway !
Made a switch over to XBMC with Addons.
Thanks for your hard work.
Marty
Steve
Just re-run the patch and it should guide you through undoing it.
http://www.driestone.net/2012/08/10/stopping-the-media-keys-from-launching-itunes/
Congratulations for such a great job!
https://github.com/thebitguru/play-button-itunes-patch/issues/1