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 09:54 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 28, 2023 09: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 09: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

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.

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.