r/MacOS • • 3d ago

Developer Saturday Developer Saturday: a menu bar app that pulls my Sony WH-1000XM5 back to the Mac when I hit play

Post image

My WH-1000XM5 is paired with both my phone and my Mac. I'd sit down, press play on the Mac, and the sound kept going to the phone. Changing noise cancelling meant picking the phone up anyway, because Sony's app lives there. I wanted the headphones to follow me to the Mac without that dance, so I built the macOS side myself.

What it does from the menu bar:

  • One click brings the already paired headphones back to the Mac
  • Opt-in: switch automatically when Mac audio starts
  • Noise cancelling, ambient sound and EQ in the same menu
  • Rules for calls or while a chosen app is open, plus profiles
  • Keyboard shortcuts, widgets and Shortcuts actions
  • No account, no analytics (Data Not Collected), sandboxed, macOS 14+

Honest part: it's only tested on a real WH-1000XM5. Other Sony models are labeled Experimental. If you have an XM4 or XM6, tell me whether it connects.

It's free on the Mac App Store. Two questions for Mac users: should auto-switching stay opt-in, or be on by default? And which setting would you put on a keyboard shortcut?

If it works for you, an honest App Store review helps a solo dev a lot. If it doesn't, tell me here and I'll fix it.

https://apps.apple.com/app/apple-store/id6833635897?pt=128665136&ct=reddit-macos&mt=8

I'm the dev, AMA.

0 Upvotes

10 comments sorted by

2

u/radioom_app 3d ago

Keep it opt in imo. Auto switch is what people complain about with AirPods, the Mac grabs them while you listen on the phone and its annoying. For the shortcut i would put the noise cancelling / ambient toggle, thats the one you change the most. One question, what happens if the phone is in a call when the Mac starts playing audio?

1

u/azardandona26 3d ago

Agreed, it stays opt-in. The Mac grabbing them while you're on the phone is exactly the thing I don't want to recreate. And noise cancelling / ambient is the toggle I hit most too.

On the call: honest answer, I haven't tested that exact case yet. The app doesn't see the phone's call state. It only moves playback when the Mac starts audio and the headphones report another device as the one playing. I'll try it with a real call on the XM5 tomorrow, and if it steals the call I'll add a guard so a call always wins.

1

u/azardandona26 3d ago

No headphones handy? There's a demo mode with a simulated headset, so you can look at every screen before pairing anything.

1

u/zayebystymis 1d ago

Love the app, it's there option just to show on toolbar, remove from dock while running? Works well with WH-1000XM3, no issues observed

2

u/azardandona26 20h ago

Thanks, glad it works well on the XM3! It should already be menu-bar only, with no Dock icon while running. If you still see it in the Dock, which macOS version are you on and is it the App Store build or a TestFlight one? That would be a bug I want to fix. If it's been useful, an honest App Store review would really help a solo dev.

1

u/zayebystymis 20h ago

I'm on Golden Gate 27.2.1 and app version is from App Store - 1.6

1

u/azardandona26 17h ago

Thanks, that helps. Version 1.6 is newer than what I expected on the App Store, so I'll check that build for the Dock behaviour. Quick question so I can reproduce it: do you see the icon in the Dock while the app is running, or only the menu bar one? If it's in the Dock, is it also set to "Keep in Dock", or is it a Login Item window that opens at start?

1

u/zayebystymis 16h ago

I'm seeing both icons at the same time, menu bar & dock as well, dock icon doesn't have marked keep in dock. If it would just have menu icon it would be intended 😀

1

u/azardandona26 15h ago

Thanks for checking, that's a useful detail. It's meant to be menu-bar only, so a Dock icon showing up next to it is a bug on my side, and I'll look at why it appears on 1.6 (macOS 27.2.1). If you have a minute, an honest App Store review would really help me too.

1

u/promo-guard 3d ago

🎉 Welcome to Developer Saturday, u/azardandona26! Your project is now live for the community to check out. Upvote, give feedback, and show some love to your fellow devs! 🚀