iTunes starts up whenever I connect my bluetooth headset

I am using bluetooth headset to communicate on Skype. Whenever somebody's calling me, I turn my headset on and it will automatically connect to my MacBook. Every time, however, it will also automatically start iTunes and begins to play. I don't want this behavior, since instead of listening to music I would actually want to talk on Skype. How can I change this?

Possible explanation to this could be that headphones may send "Play" button message to the computer once connected, since this is same button that is used to turn them on/off. I am not sure however, if they actually do send this button. But in case they do, how can I disable iTunes startup on Play button? Is there are an official way to do it or should I really go with something like this: http://superuser.com/questions/31925/stop-play-pause-button-opening-itunes-in-sn ow-leopard/39390#39390.

MacBook Pro 6.2, Mac OS X (10.6.4)

Posted on Sep 6, 2010 2:04 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 15, 2014 11:11 AM

I've got this figured out.


On OSX, the "RCD" (remote control daemon) is responsible for the naughtiness. It has hard-coded list of actions to do when it detects certain "events" - one of them being connecting to a bluetooth headset.


To disable this behaviour (minimal loss of functionality, possibly your apple remote won't work):


1. Open Terminal

2. Enter (these are two separate commands)

launchctl stop com.apple.rcd

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


This should stop rcd from being launched by OSX. No rcd - no auto-magic multimedia. Your volume keys should continue working, but things like play key (or bluetooth) auto-starting iTunes should stop.


PS: The following is the nuclear option. In Terminal, enter:

sudo chmod 000 /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd

sudo pkill -9 rcd


To stop rcd from even being started by any app. To restore your rcd, use:

sudo chmod 755 /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd

launchctl start com.apple.rcd

139 replies

Mar 9, 2017 8:51 AM in response to lordphnx

I've seen my problems solved by removing execution rights from the remote control daemon, by doing:

sudo chmod -x /System/Library/CoreServices/rcd.app/Contents/MacOS

After running this I was getting high CPU usage by launchd process. I reverted this, iTunes launched and CPU usage got back to normal. It looks like system tries to launch iTunes indefinitely.

Apr 12, 2017 3:19 PM in response to rryk

So. This was a real crazy issue. You can try the Do Nothing app trick. Didn't work for me, but seems workable. I deleted iTunes, created the app, linked the bluetooth to the DN app, but when I reinstalled iTunes the same thing happened

But...

After this when I renamed the iTuneshelper in the package contents...Walla! No more issues. This had been bugging me for over a year.

Don't know if disabling iTuneshelper is smart, but it certainly solves this crazy issue.


Love Apple, Hate Apple. Sera Sera...

Hope this helps

Nov 21, 2017 10:36 AM in response to rryk

I find it astonishing that this even occurs... It annoys the **** out of me sitting with a headset, and taking it on and off because life around requires my attention. And every time I need to close iTunes after it has started to play the first song in my library.


At least there should be a simple box/switchto make this behaviour optional.

Nov 27, 2017 12:04 PM in response to rryk

Ok so I threw together an applescript to deal with this. I'm using High Sierra. What this script does is rename the app before and after each use. This will prevent it from being automatically launched.


First, rename iTunes to iTunes_disabled. It must match this exactly (unless you also change it in the Applescript below).


In the terminal:

sudo mv iTunes.app iTunes_disabled.app


Then open Script Editor. Create a new script and paste in the following:

set appname to "iTunes.app"
set pwd to "yourpassword"
do shell script "sudo mv /Applications/iTunes_disabled.app /Applications/iTunes.app" password pwd with administrator privileges
tell application appname to activate
on ApplicationIsRunning(appname)
tell application "System Events" to set appNameIsRunning to exists (processes where name is appname)
return appNameIsRunning
end ApplicationIsRunning
repeat until not ApplicationIsRunning("iTunes")
delay 1
end repeat
do shell script "mv /Applications/iTunes.app /Applications/iTunes_disabled.app" password pwd with administrator privileges


Enter your password on the second line, between the quotation marks.


Save it to the Applications folder, and save it as an application. I named mine iTunez.


When you launch "iTunez", it will rename the iTunes_disabled application back to iTunes, and launch it. Everything will work as expected. When you quit, it will rename iTunes back to iTunes_disabled.


Hopefully this will help some people. I was also incredibly frustrated by this. Apple, if you're reading this, a simple option on what to do when connecting bluetooth headphones would be great!

Jan 7, 2018 4:47 PM in response to rryk

I couldn't agree with this comment more. There are so many arcane aspects of modern Apple OS that the whole platform is reduced to nearly useless. And my house and my business is filled with Apple products.


How the mighty have fallen.


If you find a solution to this most annoying problem, please let the world know. Other solutions to well documented problems would be welcomed too.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes starts up whenever I connect my bluetooth headset

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.