Hacker News new | ask | show | jobs
by jackson1442 1801 days ago
Your headphones are probably sending a play command to your computer. There should be some software you can grab that captures that command and routes it to the application of your choosing, or disables it entirely.

Unfortunately it's not built in, but I think it's your headphones doing something nonstandard because my Sony XM4s and AirPods do not fire this behavior when I put them in.

1 comments

I'm using XM4s and have never done anything to change whatever their own default behavior is. And this doesn't happen on any other device except the Macbook.

I guess it's worth looking into to see if there is some outside of the OS way to force the OS to route requests to the application I already have opened and foregrounded that plays sound, but I would expect that to be the default behavior. What is a "play" request to music.app even supposed to do when I have never intentionally opened the app and don't have a playlist set up? It doesn't actually play anything since there is nothing to play. It just opens the app and takes over my screen.

This is pretty easily fixed and took 5 seconds to google a solution. I have like 4 or 5 pairs of various headphones form AirPods to Jabra devices and they all do this when I take them off or put them on. The Bluetooth settings all have options to turn it off.

>If you remove the headphones or put them back on, this will pause or resume playback. If you're not wearing the headphones, make sure there's nothing else around the sensor because it may activate and resume playback.[1]

[1]https://www.sony.com/electronics/support/articles/00229324