On Linux we make use of MPRIS for media player control.
MPRIS is not available on Windows.
A very simple implementation would be to emulate the Play/Pause/Next/Previous multimedia keys that some keyboards have.
On Linux we make use of MPRIS for media player control.
MPRIS is not available on Windows.
A very simple implementation would be to emulate the Play/Pause/Next/Previous multimedia keys that some keyboards have.
Status | Assigned | Task | ||
---|---|---|---|---|
Open | brute4s99 | T9997 KDE Connect on Windows | ||
Resolved | nicolasfella | T10000 Media player control on Windows |
Unfortunately there is no standard way to control media players on Windows. There is a standard API for media players(ISystemMediaTransportControls) but there's no way to query it since it's per app. I think simulating VK_MEDIA key presses maybe our only option.
https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/system-media-transport-controls
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/mediatransport/media-transport-controls-portal
Is this what we want? https://docs.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols
Otherwise, we can go with fake VK_MEDIA keys input for now