-
-
Notifications
You must be signed in to change notification settings - Fork 124
media_change event not firing #708
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
Comments
The cause of this is due to updating to macOS Sequoia 15.4. Others are also facing this issue. I do not know how to resolve this. https://community.folivora.ai/t/mediaplay-cannot-be-detected-by-btt/42910 |
Thanks. The boring.notch thread has more info and it seems they have to find a workaround since the original method is now restricted by Apple. TheBoredTeam/boring.notch#417 (comment) |
Unfortunately the solution they found (manually controlling individual music players) doesn’t support arbitrary media_change events from the entire OS, so while a solution, it’s definitely not perfect. |
Same Issue |
NotchNook updated and now only supports Apple Music and Spotify too, so I suspect they do the same as boring.notch. |
Same issue. media_change event can not be triggered since Mac OS has been updated to 15.4 |
In the meantime, I made a workaround with AppleScript to watch for Spotify change every 2 seconds and then trigger a custom sketchybar event https://gist.github.com/wzxu/ef964559bbad2a6525a2b16a465ab5f0
|
For spotify there is a Notification that used to work just fine when registering for it like shown here: |
Wow so Spotify does this by itself? That's cool. Will surely make use of that. Thanks! EDIT: Totally works. Now it's perfectly event-based again and no more polling. To be honest I only use |
Same problem here. I am using Apple Music and media_change is not firing. |
Not 100% sure it's OS upgrade related since I'm changing my config quite a lot in the past few days and I can't remember when my nowplaying widget stopped to show, but I think it is caused by my upgrading to latest macOS Sequoia 15.4.
Now media_change no longer triggers (I test this by echo-ing
date
and$INFO
into a log file in the script and play/pause a few times, but I would only see one line outputted by the initialization). Tried rebooting and with Spotify, Music, browsers etc. and none worked.The text was updated successfully, but these errors were encountered: