thebitguru / play-button-itunes-patch

Play Button iTunes Patch
http://www.thebitguru.com/projects/iTunesPatch
Other
644 stars 19 forks source link

Partially works on 10.9.2 #7

Closed rjacoby closed 8 years ago

rjacoby commented 10 years ago

I have a Monoprice BT headset, which is partially working with this patch.

If I'm running Spotify and pause a track with the headset play/pause button, Spotify pauses and that's fine. When I press again, Spotify unpauses but iTunes also launches!

The headset in question is: http://www.monoprice.com/Product?c_id=108&cp_id=10823&cs_id=1082708&p_id=9387&seq=1&format=2

Script output: https://gist.github.com/rjacoby/43fc436a32f07cb88479

zetradr commented 10 years ago

I'm having a same issue here; different headset but still BT

thebitguru commented 10 years ago

Which headset do you have @zetradr? I wonder if the application/driver that the manufacturer provides defaults to starting iTunes because in @rjacoby's case it looked like the patch applied fine.

rjacoby commented 10 years ago

Not sure why this is marked 'invalid'.

It doesn't fully work, unfortunately. The second click on the headset play/pause button launches iTunes.

thebitguru commented 10 years ago

@rjacoby Partly because this wasn't the goal for this project. Which headset do you have? Did it come with an application/driver?

Many third party applications hard code iTunes as the application (just like base operating system). e.g. Microsoft Natural Keyboard driver does this.

rjacoby commented 10 years ago

Ah, makes sense.

This patch is referred to in many threads as part of the fix for Spotify control from BT headsets.

The headset is the Monoprice one I referred to when opening the issue.

There is no driver; it's pure A2DP as far as I understand.

On Tue, Sep 2, 2014 at 3:06 PM, Farhan Ahmad notifications@github.com wrote:

@rjacoby https://github.com/rjacoby Partly because this wasn't the goal for this project. Which headset do you have? Did it come with an application/driver?

Many third party applications hard code iTunes as the application (just like base operating system). e.g. Microsoft Natural Keyboard driver does this.

— Reply to this email directly or view it on GitHub https://github.com/thebitguru/play-button-itunes-patch/issues/7#issuecomment-54209491 .

thebitguru commented 10 years ago

Hmm... looks like there maybe some other binary that's triggering the launch. Unfortunately, I don't have a bluetooth headset with controls to investigate this. I will do some research and see if I can track down the binary. I will keep this issue open for now...

zetradr commented 9 years ago

I have JayBird BlueBuds X

jmunkki commented 9 years ago

I'm using a Sony SBH-20 (inexpensive and quite useful) - mostly with my iPhone, but also on the MacBook Pro running Mavericks. My issue is that when I disconnect from the adapter, iTunes is launched. Running this patch seemed like it might fix the issue, but iTunes was still getting launched even after a reboot. My guess is that when you disconnect, it sends a "stop" and if you don't have iTunes playing, rcd will launch it. Fortunately it never starts playing, but on some Bluetooth speakers, iTunes will start playing when you disconnect and it can apparently even start playing unwatched rented movies if that's the next thing on the playlist. Not a serious issue for me, but as you can see, some users are really eager to find a solution.

Thanks for your efforts on this. I was really hoping for a "defaults write" type of solution. Apparently this behavior was at some point linked to CD/DVD-autoplay in iTunes and it was possible to disable it by disabling iTunes launching from the CD/DVD settings panel. That panel no longer exists in Mavericks & Yosemite.

thebitguru commented 8 years ago

Sorry, unfortunately, I likely won't get much time to work on the bluetooth related functionality. I have created #29 to track this in a single issue. I am looking for someone who can take on this work. Thanks!