Set media-controls=yes

This commit is contained in:
stax76
2024-09-05 05:15:00 +02:00
parent 058ae3d185
commit 9355e2f50c
3 changed files with 5 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
- A issue with the support of the mpv property `title-bar` has been fixed, - A issue with the support of the mpv property `title-bar` has been fixed,
at the moment this is most useful for users of the popular uosc user script, at the moment this is most useful for users of the popular uosc user script,
the mpv built-in OSC doesn't fully support it yet. the mpv built-in OSC doesn't fully support it yet.
- Set `media-controls=yes`.
# v7.1.1.1 Beta (2024-07-20) # v7.1.1.1 Beta (2024-07-20)

View File

@@ -414,7 +414,8 @@ For single files automatically load the entire directory into the playlist.
#### --menu-syntax=\<value\> #### --menu-syntax=\<value\>
Used menu syntax for defining the context menu in input.conf.\nmpv.net by default uses `#menu:`, uosc uses `#!` by default. Used menu syntax for defining the context menu in input.conf.
mpv.net by default uses `#menu:`, uosc uses `#!` by default.
#### --process-instance=\<value\> #### --process-instance=\<value\>

View File

@@ -103,6 +103,7 @@ public class MainPlayer : MpvClient
SetPropertyBool("input-default-bindings", true); SetPropertyBool("input-default-bindings", true);
SetPropertyBool("input-builtin-bindings", false); SetPropertyBool("input-builtin-bindings", false);
SetPropertyString("media-controls", "yes");
SetPropertyString("idle", "yes"); SetPropertyString("idle", "yes");
SetPropertyString("screenshot-directory", "~~desktop/"); SetPropertyString("screenshot-directory", "~~desktop/");
SetPropertyString("osd-playing-msg", "${media-title}"); SetPropertyString("osd-playing-msg", "${media-title}");