mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Windows: add native support for SystemMediaTransportControls

Open dyphire opened this issue 1 year ago • 1 comments

Expected behavior of the wanted feature

Ref: https://learn.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols

mpv has already implemented similar native media control support on the MacOS platform, and it is hoped that SMTC's native support can also be obtained on Windows. Adding support for SMTC can obtain the system media control function of Bluetooth devices, mainly Bluetooth earphones. ref https://github.com/mpv-player/mpv/issues/10606

Currently, there has a MPVMediaControl script that implements third-party support. But there are obvious limitations to this: this script implements SMTC function through mpv's IPC pipeline, causing conflicts with other scripts and software that utilize mpv's IPC pipeline function; At the same time, the binary files it relies on will be resident in the background, which can also cause some problems. This makes mpv's native support for SMTC functionality particularly important, as it can avoid these limitations in scripts.

Alternative behavior of the wanted feature

n/a

dyphire avatar Apr 27 '24 14:04 dyphire

ref; https://code.videolan.org/videolan/vlc/-/merge_requests/3010

The current MinGW cross CI does not meet the minimum requirements for cppwinrt.

Andarwinux avatar Apr 27 '24 17:04 Andarwinux