iTunes-Volume-Control icon indicating copy to clipboard operation
iTunes-Volume-Control copied to clipboard

Automatic mute or pause on incoming call

Open PingWeb opened this issue 4 years ago • 1 comments

First, many thanks for developing this tool. It really solves a problem which I have been struggling with for a long time. It works perfectly.

Maybe a bit out of the scope of this tool, but it's worth a shot to request this feature. When I get an incoming call (through Handoff or an application like Teams), pressing the Play button on the keyboard will answer that call on Mac. So to pause the music, I first have to pick up the call, and after that pause the music. It would be really great if you could develop an option to mute the volume automatically when an incoming call is detected.

No worries if that is not possible, but for me it would be a great feature.

PingWeb avatar Apr 16 '20 16:04 PingWeb

Great! I am glad that you find my app useful.

I had a quick look whether one can detect an incoming phone call. It seems that there are methods for that with iOS (to be clear, on the iPhone), https://stackoverflow.com/questions/33222571/detecting-when-phone-call-present-iphone-objective-c https://stackoverflow.com/questions/33222571/detecting-when-phone-call-present-iphone-objective-c

However, I could not find a similar function for MacOS, https://stackoverflow.com/questions/30680418/is-it-possible-to-detect-call-events-in-osx?rq=1 https://stackoverflow.com/questions/30680418/is-it-possible-to-detect-call-events-in-osx?rq=1. In principle one would like to detect all events from WhatsApp Telegram and FaceTime. But how?

If browsing the web, you can find a hint how this could be done, then I would be happy to implement it.

Am 16.04.2020 um 18:31 schrieb Bas Cooijmans [email protected]:

First, many thanks for developing this tool. It really solves a problem which I have been struggling with for a long time. It works perfectly.

Maybe a bit out of the scope of this tool, but it's worth a shot to request this feature. When I get an incoming call (through Handoff or an application like Teams), pressing the Play button on the keyboard will answer that call on Mac. So to pause the music, I first have to pick up the call, and after that pause the music. It would be really great if you could develop an option to mute the volume automatically when an incoming call is detected.

No worries if that is not possible, but for me it would be a great feature.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alberti42/iTunes-Volume-Control/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPC4FPOOSV6A5A5C66RULRM4XGRANCNFSM4MJ4BPMQ.

alberti42 avatar Apr 17 '20 15:04 alberti42