You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I prevent Apple Music in OSX from automatically playing when I click on my airpods?

Everytime I click on my airpods it automatically starts playing music from the Apple Music app on my macbook pro. There should be an option to turn this function off.

MacBook Pro (M1, 2020)

Posted on Oct 28, 2023 9:54 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 28, 2023 9:56 AM

Here's one workaround that seems to solve the problem. Download the app ToothFairy. Connect the Airpods using this app. In the Advanced settings use the following shell script which quits Apple Music every time it's opened by the airpods:

#!/bin/sh

#!/bin/bash


while true

do

if pgrep "Music" > /dev/null

Similar questions

1 reply
Question marked as Top-ranking reply

Oct 28, 2023 9:56 AM in response to RaoulR

Here's one workaround that seems to solve the problem. Download the app ToothFairy. Connect the Airpods using this app. In the Advanced settings use the following shell script which quits Apple Music every time it's opened by the airpods:

#!/bin/sh

#!/bin/bash


while true

do

if pgrep "Music" > /dev/null

How do I prevent Apple Music in OSX from automatically playing when I click on my airpods?

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