Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just bought a Parrot Zik, which is a pair of bluetooth headphones with volume control, play/pause and next-prev buttons. (Or gestures, as they come with the Zik).

The phones work beautifully with OS X, but I would like to be able to use the play/pause and next-prev with Spotify.

I've seen the similar question on this site, but the answer didn't help me, either because it is not entirely up to date and incompatible with Mavericks, or because Spotify lacks support.

The best thing I could think of is to map the bluetooth media keys to media function keys that are on my mac's keyboard, they all work with spotify, VLC and virtually every other app I every tried it with.

One option would be using AppleScript. I think at least Spotify can be scripted to do these things using AppleScript. But better would be a script that simply does the mapping of these events to the media keys. The question would be: how to write such a resident script that triggers by pressing my bluetooth headphone's media keys?

Otherwise, is there an app or plug-in of some sort that allows me to do the mapping?

share|improve this question

2 Answers 2

Try this: https://github.com/jguice/mac-bt-headset-fix. Works for me, and I'm using a Parrot Zik on Mavericks.

The only issue is that iTunes still opens with headset gestures.

share|improve this answer

I know this is an old question, but in addition to Chad's answer (sorry, I don't have enough rep to comment), you can try using the Play Button iTunes Patch to stop iTunes also loading.

Alternatively, if you never want to see iTunes again, you can stop it opening altogether by removing its permissions: sudo chmod 000 /Applications/iTunes.app.
This is pretty much the first thing I do on setting up my Mac, and haven't seen any negative side effects.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.