macmediakeyforwarder
macmediakeyforwarder copied to clipboard
Mac Sonoma support
Hi,
I'm looking for something to control the volume of Spotify on Mac Sonoma using the FN volume keys on the keyboard. I was hoping this was the solution but it doesn't work. I play via Spotify connect to a device if that makes a difference.
If you select "Prioritize Spotify" it does work on Sonoma.
same for me - doesn't work on sonoma for controlling the spotify app. system settings are good - in Accessibility AND Automation
Same on Sonoma 14.0, but getting this warning popup:
Enabled in both places though:
Opening the command itself from within the package in Terminal and keeping it running works fine, so might hint in the direction of the menu bar wrapper not starting the command internally.
For what it's worth, I used ChatGPT and my ancient Xcode knowledge to rebuild the app for macOS Sonoma and that seems to work. After fixing one deprecation, there are a ton remaining but mostly warnings for now. Can't share since it's not code signed and probably not up to standard though.
I've noticed that this functionality only works when Spotify is open and actively playing music. If not, the play button continues to launch the Apple Music App instead.
MacOS: 14.1.2 (23B92) macmediakeyforwarder: 3.1.2 (build 1)
Screen Record:
https://github.com/quentinlesceller/macmediakeyforwarder/assets/56993446/6e5eab98-e884-4794-8dec-676afd4c0745
Jan. 2024
Still having the same issue of the app not opening/working.
Jan. 2024 Still having the same issue of the app not opening/working.
![]()
![]()
same issue here
Jan. 2024 Still having the same issue of the app not opening/working.
![]()
![]()
same issue here
Same here, did you manage to solve?
This is my .app file. For me, it works as expected. When I press play, it opens Spotify (even if it's closed). Then I can control Spotify, like I would with Apple Music. I don't know if my .app is going to make a difference...
Menu app
System Pref -> Privacy
This is my .app file. For me, it works as expected. When I press play, it opens Spotify (even if it's closed). Then I can control Spotify, like I would with Apple Music. I don't know if my .app is going to make a difference...
Menu app
![]()
System Pref -> Privacy
![]()
![]()
Did you made any code changes on this version?
This is my .app file. For me, it works as expected. When I press play, it opens Spotify (even if it's closed). Then I can control Spotify, like I would with Apple Music. I don't know if my .app is going to make a difference...
Menu app
![]()
System Pref -> Privacy
![]()
![]()
Did you made any code changes on this version?
No code changes.
I also tried installing the app again earlier tonight. I cloned the repo, changed the bundle identifier & provisioning profile. Ran the app from Xcode, made sure it was setup correctly and it worked well again. (The other version, the original, was fully closed for that test.)
I just installed via brew
the version 3.1.2 of macmediakeyforwarder.
That matches the corresponding release in this repo.
I'm in Sonoma 14.4.1 (23E224)
.
Two things:
- The release says the app is now signed, but I still had to approve it via security settings.
- The Application only shows in
Automation
settings when I press play after choosing one of the applications in the menu of macmediakeyforwarder. When I press play, macOS requests the permission mentioned before. I did it first with Spotify. Then, with App Music.
It's working well. Even if I'm at the App Music, the Play event goes to Spotify.
- I remove the existing app
- Reinstall the last version
- Run Terminal and run
codesign --force --deep --sign - /Applications/MacMediaKeyForwarder.app
to code sign it manually. - Open [System Settings -> Privacy & Security -> Accessibility] remove the MacMediaKeyForwarder.app and then add it back again manually.
- Go to [System Settings -> Privacy & Security -> Automation] disable and enable both "Music" & "Spotify"
- Open the MacMediaKeyForwarder.app
- Open setting check the option "Pause if no player is running"
- Done
Currently, if Spotify is open, the play button will forward to Spotify. If it is not open, Apple Music will be launched.
Note: It would be great if the play button could open Spotify if it isn't already open, but the current functionality is still quite good.