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 Best 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

1 reply
Question marked as Best 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 ID.