Skip to content

Instantly share code, notes, and snippets.

@rjacoby
Created April 30, 2014 17:08
Show Gist options
  • Save rjacoby/43fc436a32f07cb88479 to your computer and use it in GitHub Desktop.
Save rjacoby/43fc436a32f07cb88479 to your computer and use it in GitHub Desktop.
➜ PlayButtoniTunesPatch sudo ./Patch.command
Confirmed that the script is running as root (uid 0).
-------------------------- Play Button iTunes Patch --------------------------
This program 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.
Also, this program will backup the original file in case if you would like
to restore the original functionality.
This program comes with ABSOLUTELY NO WARRANTY; please see the included
license file for details.
Everything is ready. Would you like to create a backup and apply the patch? (y/N) y
Patching...
+ Killed any running processes.
+ Backed up the existing file as rcd_backup_0.8.3_201404301201.01
+ Patching...
Successfully patched the file (found 1 instances at 30748).
+ Regenerating the code signature...
/System/Library/CoreServices/rcd.app/Contents/MacOS/rcd: replacing existing signature
+ Successfully patched the existing file.
Finished patching. To verify:
1. If iTunes is already running then quit it first.
2. Press the play button on your keyboard.
3. If iTunes did not start then the patch was applied successfully.
4. Enjoy.
Run this script again if you would like to restore the original functionality.
For questions and/or comments please visit http://www.thebitguru.com/projects/iTunesPatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment