gillesdemey / Cumulus

☁️ A SoundCloud player that lives in your menubar.
http://gillesdemey.github.io/Cumulus
MIT License
1.43k stars 123 forks source link

Cumulus does not react to headphone controls #49

Closed andersfischernielsen closed 8 years ago

andersfischernielsen commented 8 years ago

On OSX El Capitan Cumulus does not pause/play when a clicker on a pair of headphones is used for controlling the music.

gillesdemey commented 8 years ago

Do the headphone clickers work with iTunes? Cumulus (Electron) is just hooking into the global Play / Pause events and reacting to those.

andersfischernielsen commented 8 years ago

Yeah, the headphone clickers work perfectly with iTunes and Quicktime (though not Spotify).

vjanssens commented 8 years ago

To be clear, I think Anders means the middle button on the Apple EarPods. I can confirm this button does not 'pause' the music when pressed once. Using OSX El Capitan + latest version of Cumulus. When I press the middle button, iTunes gets opened automatically (and Cumulus audio keeps on playing)

Next, previous, pause/play buttons on my keyboard work as expected.

andersfischernielsen commented 8 years ago

Exactly. :)

MichielDeMey commented 8 years ago

I can confirm this issue. Volume buttons on the side work as expected, but the middle button seems to open iTunes.

We're going to look into this to see if we can capture the middle button, but don't get your hopes up. :)

jneubrand commented 8 years ago

Recently came across this: https://github.com/wmttom/MikeyPlay – clearly, it's possible, but I'm not sure how this should be handled in Cumulus. Maybe we can ask the electron team to implement headphone button capturing?

bendingtime commented 8 years ago

Nothing is needed just install spotify bluetooth headset listener and it will work perfectly.

seppestas commented 8 years ago

I personally use BTHSControl. It's a bit quirky sometimes, but mostly it works.