kiding / beotsmusic

Standalone Mac OS X browser for Beats Music
http://beotsmusic.kiding.net
MIT License
26 stars 5 forks source link

Bluetooth headphone buttons don't work. #2

Open gvt opened 10 years ago

gvt commented 10 years ago

Firstly, thanks for making this! I've been using it several times per week for hours at a time and am loving it.

I love the support for media keys from the keyboard. Unfortunately, when I use the play/stop button on my Beats Music headphones, iTunes opens instead of BeotsMusic responding. I believe that the same would happen if I were using just plain iPhone earphones too since it probably is the same signal sent regardless of the actual headphone device that is used.

kiding commented 10 years ago

That must be troublesome! Let me investigate this. I don't own any Beats headphones unfortunately, but as you said Apple Earbuds and other ones should behave the same, as far as I know.

kiding commented 10 years ago

It's been a while, sorry for that. I've been busy wrapping up my employed work, but now it's all done, so I can finally put my time in here! After a bit of research, it seems I could use Daij-Djan's DDHidLib for the work.

gvt commented 10 years ago

Sounds good

kiding commented 10 years ago

It's finally merged and seems working. I'll roll out the next version soon.

gvt commented 10 years ago

Sweet! :8ball:

kiding commented 10 years ago

@gvt Would you mind testing this version if you have some time? If there's no bug, I'd like to tag it for distribution.

gvt commented 10 years ago

I get a 404 when I follow that link.

On Thu, Jun 5, 2014 at 7:09 PM, Don Kim notifications@github.com wrote:

@gvt https://github.com/gvt Would you mind testing this version https://github.com/kiding/beotsmusic/releases/tag/untagged-3d4fae132aa910669975? If there's no bug, I'd like to tag it for distribution.

— Reply to this email directly or view it on GitHub https://github.com/kiding/beotsmusic/issues/2#issuecomment-45296302.

kiding commented 10 years ago

Oops, sorry! I guess draft releases don't share with others. Could you try this instead?

gvt commented 10 years ago

The file worked. I'll try it out soon

On Fri, Jun 6, 2014 at 11:39 AM, Don Kim notifications@github.com wrote:

Oops, sorry! I guess draft releases don't share with others. Could you try this http://not.kiding.net/BeotsMusic.dmg instead?

— Reply to this email directly or view it on GitHub https://github.com/kiding/beotsmusic/issues/2#issuecomment-45370569.

gvt commented 10 years ago

With my Beats Studio Wireless headphones, its not working.

kiding commented 10 years ago

Oh my, is it wireless? I thought it was wired one for the whole time! :D They use completely different service from each other, so I might need to take a look at Bluetooth related frameworks. This is gonna take some time, sorry about that!

      1. 오전 9:53 Greg Tomei notifications@github.com 작성:

With my Beats Studio Wireless headphones, its not working.

a single click (pause) opens iTunes a double click (next) has no apparent affect a triple click (previous) has no apparent affect — Reply to this email directly or view it on GitHub.

gvt commented 10 years ago

Yeah I like the wireless ones. Sorry I didn't mention it sooner.

On Sunday, June 8, 2014, Don Kim notifications@github.com wrote:

Oh my, is it wireless? I thought it was wired one for the whole time! :D They use completely different service from each other, so I might need to take a look at Bluetooth related frameworks. This is gonna take some time, sorry about that!

      1. 오전 9:53 Greg Tomei <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> 작성:

With my Beats Studio Wireless headphones, its not working.

a single click (pause) opens iTunes a double click (next) has no apparent affect a triple click (previous) has no apparent affect — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/kiding/beotsmusic/issues/2#issuecomment-45464928.

louisdh commented 9 years ago

This project might offer a solution. Unless the "experimental build for yosemite" already has this?

kiding commented 9 years ago

That sure looks interesting! Thank you for finding it.

kiding commented 9 years ago

After quite a while (sorry!) I was able to look into this issue again.

It seems the project @LouisDhauwe has put up is essentially turning off rcd (described in #3) at launch, turning it on at termination. That says, if the application quits unexpectedly or the turning-it-on part doesn't work somehow, rcd won't recover itself, iTunes won't listen to the buttons.

I hope there would be a better way to tackle this problem, maybe an exclusive access to the devices, just like Apple Mikeys? Let me investigate more, now that I finally have a BT headset.