-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Feature Request: Add support for media control #269
Comments
Do you know any open-source Java applications that have this feature? I'm not entirely sure where to start, especially for Windows. |
Here's what I searched so far:
|
That seems to be for simulating media key presses, not for detecting them. |
How about this library? It's windows specific though. |
That seems like it'd work for media keys, but media session won't be shared with the system like in your screenshot. |
For my own later reference, this library seems like it would work: https://github.com/Selemba1000/JavaMediaTransportControls |
The library I mentioned seems to work on Linux, but on Windows it depends on DLL blobs with no source code so I won't be able to use it until Selemba1000/JavaMediaTransportControls#1 is resolved. |
I've implemented media controls for the native Windows target of mediasessionkt. Support for the JVM target (and by extension SpMp) should follow soon. |
Added by dd8ac3d |
will this be supported on Linux too? Currently on the latest Flatpak package v0.4.1 media keys don't affect playback and it doesn't show up in the media control widget of KDE |
Could probably be supported with kde's plasma browser integration. Not sure about its compatibility though. |
Could you give me more info on how to do that? I haven't been able to find a web version of this app |
This is/was supported on Linux, but it seems the call to start the media session was accidentally removed in a refactor at some point. I'll see if I can add it back in later today. |
@quazar-omega Media session on Linux (and also Windows) should be restored by 719b646. |
Ah that's great, thank you! |
This Feature not working for me on windows 10 here I'm using v0.4.2, and the media control buttons not working either. |
The commit that restored this feature is not included in v0.4.2. Use an actions build or wait for the next non-hotfix release. |
This feature should allow spmp playback to be controlled by any hardware that uses the system media control. (e.g keyboard)
The text was updated successfully, but these errors were encountered: