Skip to content
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

FR : Add support to steve228uk/YouTube-Music #60

Open
Write opened this issue Jun 2, 2024 · 2 comments
Open

FR : Add support to steve228uk/YouTube-Music #60

Write opened this issue Jun 2, 2024 · 2 comments

Comments

@Write
Copy link

Write commented Jun 2, 2024

Hi,

I would like to use mediamate with https://github.com/steve228uk/YouTube-Music app, specifically this fork : steve228uk/YouTube-Music#192 that I built to run locally, but that shouldn't matter.

Unfortunately, when Safari is playing a video (ie Youtube) the pause / play button takes precedence on the current Safari video.

If that's something that's fixable that would be awesome :)

Thanks.

@Write
Copy link
Author

Write commented Jun 3, 2024

Actually, it seems that it doesn't even work with regular Music app.

Even with an app Like Reflex installed, MediaMate always forward the media keys to frontmost app (ie Safari)

@Wouter01
Copy link
Owner

Wouter01 commented Jun 3, 2024

Hi,

Unfortunately, MediaMate can currently not control which app will get the play / pause event. This is managed by macOS and is inaccessibly to 3rd party apps (it is protected by an entitlement). At this moment, MediaMate can only report the status of the current playing app. Disabling SIP can make this feature work, but this is not a path I want to take.

In the future, I'd like to explore adding the ability to add custom behavior for the media keys, allowing MediaMate to control the keys more granular. However, this would also only be possible for a few specific apps, like Apple Music or Spotify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants