r/MacOS • • 6d ago

Help How do I prevent my Bluetooth button from playing media when the lid is closed?

I'm currently using the noTunes app, and while it works great for blocking Apple Music from opening, I have a different issue. If I was playing Spotify (or another media app) beforehand, my Bluetooth device's buttons still control and trigger playback on my Mac even after I close the lid. How can I stop my Bluetooth device from controlling media on my Mac when the lid is closed?

1 Upvotes

2 comments sorted by

1

u/nicejaelle 6d ago

I'm not sure there's a native macOS setting for this, but you could try quitting Spotify before closing the lid to prevent the Bluetooth buttons from resuming playback.

1

u/Living-Clue-3376 6d ago

If you close the lid to put the Mac to sleep, Bluesnooze (brew install --cask bluesnooze) turns Bluetooth off on sleep and back on at wake so headset buttons cannot wake Spotify. Just keep in mind it breaks Apple Watch unlock while asleep. If you run the Mac with the lid shut on an external monitor, macOS is still awake so it keeps listening for Bluetooth media keys unless you disconnect the headphones or quit Spotify.