-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let user define app play/pause starts #2
Comments
Thanks for the input. I am not sure if that would be easy to do. The patch basically comments out the iTunes applescript command, and I am not sure if there is enough space for configurability. I will explore this once we figure out the issue with codesign. |
At least for rdio you can simply replace |
For Spotify you could probably do something like |
Thanks, @dsiem! Just used your method to have spotify start. Worked great. Thanks @thebitguru for creating this! |
@dsiem Sorry, I'm new to python so please correct me. What you're saying is I should replace |
For the old python based cli something like
should work |
I'm on OS X 10.10.3 and got this script with the GUI to patch correctly. Works great! Now I'm interested in having the play/pause button just mute and unmute all audio. Any insight? |
Thanks @dsiem, the approach with spaces works. I was able to tweak the binary so it starts Spotify on remote button press, pauses and resumes music on button press, and skips to next song on button double press. (Going back to previous song doesn't work on button triple press, though.) However, pausing, resuming, and skipping to next song in Spotify only works if iTunes is running in the background as well. This is bizarre. It's like |
That sounds strange. I have no problem with the functionality of any of the buttons whether the app is in focus or not. But then I'm also using Rdio and not Spotify. Anyway, the patch doesn't change the behaviour of the buttons once the app is running. It only makes |
Well, I made a script that replaces all "com.apple.iTunes" with "Spotify" in the binary, not just the launch script, which affects the embeded scripts to pause/resume/skip track. The end effect is as I described earlier: pause/resume/skip track actually works within Spotify via remote buttons on headset. However, they only work if iTunes is running, although these controls don't actually affect iTunes in any way due to patched |
@mislav, do you mind sharing your |
I would like to start Spotify instead of iTunes.
The text was updated successfully, but these errors were encountered: