milgra / macmediakeyforwarder Goto Github PK
View Code? Open in Web Editor NEWMedia Key Forwarder for iTunes and Spotify
License: The Unlicense
Media Key Forwarder for iTunes and Spotify
License: The Unlicense
Hello! Can you please add https://daft.cloud/ app support?
Thanks for the awesome app. You are the true MVP!
Are you planning to add your app to the Cask maybe? It would be great. This will allow to automate/provision new setups.
A few months ago I added the danish language to this project, however it doesn't show up. Is this meant to be, or a bug?
Thank you for this app, and as a commenter on your app's site stated: "I am deeply saddened that this is actually necessary."
Is there or could there be a way to detect which app is currently stealing control away from iTunes? To help with diagnosing the problem, for example?
I'd imagine just a simple alert or logged message anywhere that identifies the controlling process.
When HighSierra Media Key Enabler is opened and I go to Safari > Preferences > Search and try to change the Search Engine it automatically switches back to the old Search Engine. For example when Google is selected as the Search Engine, it will stay on Google even if I try to select another Search Engine, e.g. Bing. This problem doesn't occur when HighSierra Media Key Enabler is closed.
Request:
At the moment users have the ability to prioritize iTunes or Spotify, but what about other open audio applications? For instance, could the app identify an open podcast player like Pocketcasts and prioritize that?
Thanks!
There seems to be a bug with facetime (audio). When i receive (or place) calls with media key enabler activated on facetime audio, the call ends after 10 seconds or so. Quitting the enabler seems to solve the issue, calls don't quit anymore.
Hello,
All is in the title. :/
Hi there.
First off, thank you for your work.
I noticed a slight inconvenience with the app : it takes over the notification center widget "Now Playing" making it useless in terms of seeing the title of the track being played. Is there anyway you can still take over the control of media keys and still display info about the track in the widget ?
Best
Hi!
Seems HighSierraMediaKeyEnabler doesn't start with the new macOS Mojave.
Any idea?
Thanks!
— G
Using spotify - when I press the next/previous button it doesn't skip to the next/previous song. Play button works as expected.
Seems to work on the mac keyboard itself but on an external one (have a daas) the behaviour above occurs
When I log in, I have to restart this app before it will work with Spotify.
Mac OS High Sierra version 10.13.6
Spotify version: 1.0.86.337.ga8d5cef9
HighSierraMediaKeyEnabler version: 1.9 (build 5)
I have Spotify and HighSierraMediaKeyEnabler both set to start on login. But I have to restart HighSierraMediaKeyEnabler before it will work, at least with Spotify. I don't use iTunes so I can't speak to that.
If a user changes HighSierraMediaKeyEnabler in Login Items or programatically via System Events, it can become out of sync as it's only checked when the app is launched.
The fix seemed simple enough, calling [self updateStartupItemState]
on menuWillOpen
instead of applicationDidFinishLaunching
. However, this only worked properly after the second time menuWillOpen
was called. There could be an issue with GBLaunchAtLogin as [GBLaunchAtLogin isLoginItem]
returned an incorrect value the first time.
Hiya,
I'm currently trying to update the homebrew-cask for MacMediaKeyEnabler. Quick disclaimer: I'm not affiliated with them in any way, just wanted to download it through brew cask
and found I couldn't because of the broken URL, and thought I'd be helpful 😄
The sha256 sum of MacMediaKeyEnabler2.0.zip changed in the last few days, without altering the version number (probably when the URL was altered from hsme to mmkf.) Per homebrew-cask's policy I've got to confirm that the sha256sum changing was deliberate on your part and not the result of some malicious actor updating your site for you, etc.
Could you confirm that a new build was released with the same version number? Just a comment on this issue or on the pull request confirming the new sha256sum would be great. Thanks 😄
Hey guys, wonderful little app that I wish was built-in, but alas!
I sometimes use soundcloud and mixcloud.com to play music. I was wondering if you guys could build a sort of whitelist feature to detect what domain the media is playing from. That way I can still use the media keys for the music I stream via my browser. Tbh, it's quite a complicated interface problem to solve.
Anyway, just wondering, let me know!
Respect and love
Claus
iTunes is shitty, sure, but I don't like Spotify because it bombards you with ads unless you pay them. I have some mp3
files that I like to play with VLC, but when I tap the play button before launching it it opens up iTunes until I focus VLC at least once. Using any of the iLife apps reverts this back to iTunes for some stupid reason, requiring me to switch back to VLC after using any of them like Keynote or Pages. Can this app be used to lock the keys to VLC instead of iTunes/Spotify?
The pause feature seems to disable media keys completely rather than returning to normal functionality (controlling the active window).
For example, Youtube open with Spotify in background - Without the program, the media keys control the active window which is youtube (default High Sierra behavior). With the program started and Spotify prioritized, the media keys control Spotify. But when I enable the pause feature, the media keys control neither Spotify or Youtube.
Holding next / previous button skips songs instead of fast forward / rewind.
If it already has a menu icon, make it useful: display if something is playing or not in the menu.
This is actually awesome! Thanks for doing this, I can finally have the media keys working again.
Is it possible to add support for Tidal as well?
I understand this wasn't designed with volume control in mind, but I remember years ago I used an old tool called "iTunes volume controller" (Copyright © 2012 Andrea Alberti.) This tool gave the option to use a modifier key to send the volume control to the items application " ⌘ + Volume up" I think this would be a fabulous addition to a your excellent tool.
It would be cool to have information about app installation with brew cask
. Copy and pasting command in terminal to install is amazing.
$ brew cask install highsierramediakeyenabler
Hi there,
Great program, but what I miss is, that if there's no Mediaplayer launched, that the old functionality of pressing the play button which opened iTunes isn't available. That would be great if you could implement that.
Greets
Simon
The functionality works with the Touch Bar, the state does not change though. If the state was playing when opening HighSierraMediaKeyEnabler it will stay that way and the same if the state was paused.
First of all, thanks for this neat tool to fix the undesired behaviour of the media keys caused by Safari 11 / MacOS High Sierra! Now, I bumped into a little problem.
When Spotify and iTunes are both open, pressing play/pause actually just turns of either one of them and turns on the other one. Would be nice if this was fixed. Otherwise great tool ✌🏻.
I have soooooo many menu icons, and with the functionality that HighSierraMediaKeyEnabler has, I really do not need to see that icon all the time.
Take out 1 piece of Airpod doesn't stop the music despite "Automatic Ear Detection" enabled.
Take out both pieces of Airpod make the Mac use the speaker, which is really annoying.
It would be nice to be able to pause the service from the notifications bar without having to quit the app. Let's say if you wanted to quickly switch back to High Sierra's default handling of Play/Pause for any reason.
Probably a bit of a niche issue but I found today on High Sierra 10.13.4, a third-party kernel extension would not load via the Allow button in System Preferences -> Security & Privacy while HighSierraMediaKeyEnabler was running. Quitting the app then allowed the extension to be loaded via the Allow button.
Hello,
First and foremost, of course, this app is awesome.
Thank you.
I really loved the small, unobtrusive dot icon in the menu bar.
Is there a way or a trick to get it back?
If not, feature request: allow us to use the old dot icon. 😉
System information:
OS: Mojave 10.14.2
Hardware: MacBook Pro 15" 2017
RAM: 16 GB
I believe default MacOS behavior was to return to the beginning of the song if your press previous when you're after 4? seconds into the song. Currently, the previous button always skips to the previous song.
High Sierra media key enabler can’t lunch iTunes if iTunes is close
on Sierra, you had to disable the agent which is responsable for media keys to stop using itunes and being able to use Spotify via:
$ launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist 2> /dev/null
However, on High Sierra, it's quite the opposite. If you want to make it work with Spotify or whatever, you have to load it
$ launchctl load -w /System/Library/LaunchAgents/com.apple.rcd.plist 2> /dev/null
It works to me, no more need to use your app.
Hi sorry but this app is too awesome. It works perfectly and fixes a major pain point. Cheers
When iTunes is connected with HomePod, this app will change the skip button to do nothing, and the pause button to skip. Back button is the same.
GitHub recently added the ability to "Watch" "Releases Only"
However, this is only useful if the repo uses Releases! I think for this sort of project, where there is no package manager or version control to pick up the latest automatically from a client (...or does it download the latest automatically?), this is a pretty good solution.
Wondering if you've seen this or can tell me where to look ;-)
(on pressing headphones play/pause button with Spotify running)
2017-10-19 10:55:11.649766+1100 HighSierraMediaKeyEnabler[88663:8783799] [main] 10759711: Error #17 (os/kern) invalid right attempting to add send right to port ( port:8467/0x2113 rcv:1,send:0,d:0 limit:5).
2017-10-19 10:55:11.651986+1100 HighSierraMediaKeyEnabler[88663:8783799] AppleEvents: received mach msg which wasn't complex type as expected in getMemoryReference.
As the title says, your otherwise awesome little app doesn't seem to function at all, while Plex Media Player is open. As soon as this app is closed again, however, functionality returns as if nothing had happened.
I really hope you're able to fix this somehow.
Would love to see support for the pocket casts desktop app
Would it be possible to implement a check if Spotify and/or iTunes is running and commands should be forwarded.
If both are not running it would be cool if macOS’s standard behavior could be used and the command is directed to the current app in foreground.
However, thanks a lot for this great app, Apples change is not appreciated by me either….
There appears to be some kind of bug that causes a delay of up to multiple seconds when using the volume-up and volume-down media keys.
Hey!
First of all, thank you for this app. It works really well and i really can't use the media keys on a mac without it anymore 😄
Just one quick question, would it be possible to add the feature to run this application on the background? I like a clean menu bar and never change the settings of this app to be honest.
Thank you!
see #49
Would love to have a app icon instead of a black dot only.
Plus an option to hide the menu bar icon would be nice.
What do you think?
When listening to music with classic headphones (3.5 mm headphone jack) a press on play/pause is executed twice. This means the music stops and immediately plays again. It is not possible to pause the sound with headphones
Open iTunes and start a song. Insert headphones and press the play/pause button
The music stops and immediately starts playing again
The music stops whenever triggered from keyboard or headphones
Next (2x play) & previous (3x play) works but the music also stops for a moment
iMac 5K Late 2015
macOS 10.13.2
Here's a log of what happens when I try to launch both versions (same error):
Jan 5 19:05:43 [Computer Name] MacMediaKeyForwarder[32592]: DEPRECATED USE in libdispatch
client: dispatch source activated with no event handler set; set a breakpoint on
_dispatch_bug_deprecated to debug
Jan 5 19:05:43 [Computer Name] com.apple.xpc.launchd[1]
(com.apple.xpc.launchd.oneshot.0x1000002d.MacMediaKeyForwarder[32592]): Service exited due to
SIGSEGV | sent by exc handler[32592]
System information:
OS: Mojave 10.14.2
Hardware: MacBook Pro 15" Mid 2012
RAM: 8 GB
Could you provide a versioned download link for the latest versions?
The current Version is 1.9, but the link is:
http://milgra.com/downloads/HighSierraMediaKeyEnabler.zip
instead of
http://milgra.com/downloads/HighSierraMediaKeyEnabler1.9.zip
It would be better for homebrew if you could provide every release with an absolute link, as you do with the older versions.
Hi @milgra ,
this doesn't work . So I have to this too to have this function: https://github.com/alberti42/iTunes-Volume-Control
I would be happy when your program acts as iTunes volume control , because this program is not maintained anymore and I don't want to have two programms for a similar function :)
The icon for the app is a square (1024x1024px) but it should be a 16x22px rectangle to match the size of most other menu bar apps. I will submit a pull request when I get a chance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.