From 9355e2f50ca8b6d7e94c4357a5a351e93b805ae0 Mon Sep 17 00:00:00 2001 From: stax76 Date: Thu, 5 Sep 2024 05:15:00 +0200 Subject: [PATCH] Set media-controls=yes --- docs/changelog.md | 2 ++ docs/manual.md | 3 ++- src/MpvNet/Player.cs | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index a0557ca6..b3c4427b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,8 @@ - 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, the mpv built-in OSC doesn't fully support it yet. +- Set `media-controls=yes`. + # v7.1.1.1 Beta (2024-07-20) diff --git a/docs/manual.md b/docs/manual.md index 8e4b3f34..b5186434 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -414,7 +414,8 @@ For single files automatically load the entire directory into the playlist. #### --menu-syntax=\ -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=\ diff --git a/src/MpvNet/Player.cs b/src/MpvNet/Player.cs index 6d6b2dc4..c9ccbce1 100644 --- a/src/MpvNet/Player.cs +++ b/src/MpvNet/Player.cs @@ -103,6 +103,7 @@ public void Init(IntPtr formHandle, bool processCommandLine) SetPropertyBool("input-default-bindings", true); SetPropertyBool("input-builtin-bindings", false); + SetPropertyString("media-controls", "yes"); SetPropertyString("idle", "yes"); SetPropertyString("screenshot-directory", "~~desktop/"); SetPropertyString("osd-playing-msg", "${media-title}");