diff --git a/docs/changelog.md b/docs/changelog.md index 3d2d5223..3a3703a7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,11 +4,17 @@ - Polish translation fixed. German, Turkish and Japanese translation updated. French translation added! Thanks to the translation team! - Support of relative folders from command line. -- Support for the mpv option `cursor-autohide` has been added. +- Support for the mpv option `cursor-autohide`. - 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` by default. +- `media-controls=yes` is now enabled by default, this enables play controls + in the `KDE Connect` android app. +- The mpv.net option `auto-load-folder` by default is now disabled and the + option is deprecated. The reason for this is mpv has new native support + for it using `autocreate-playlist`, which mpv.net uses now instead by default. +- New zhongfly libmpv x64 build. +- New Andarwinux libmpv ARM64 build. # v7.1.1.1 Beta (2024-07-20) diff --git a/docs/manual.md b/docs/manual.md index e346b177..f06937a6 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -407,7 +407,11 @@ are used as defined by autofit and start-size. Default: 1500 #### --auto-load-folder=\ -For single files automatically load the entire directory into the playlist. +For single files automatically load the entire directory +into the playlist. This option by default is disabled. +The option is deprecated because mpv now has native +support for it using `autocreate-playlist`, +which by default mpv.net sets to `autocreate-playlist=filter`. ### General diff --git a/src/MpvNet/App.cs b/src/MpvNet/App.cs index 9d8cc061..86b3894e 100644 --- a/src/MpvNet/App.cs +++ b/src/MpvNet/App.cs @@ -21,7 +21,7 @@ public class AppClass public string CommandLine { get; set; } = Environment.CommandLine; public string MenuSyntax { get; set; } = "#menu:"; - public bool AutoLoadFolder { get; set; } = true; + public bool AutoLoadFolder { get; set; } public bool DebugMode { get; set; } public bool Exit { get; set; } public bool IsTerminalAttached { get; } = Environment.GetEnvironmentVariable("_started_from_console") == "yes"; diff --git a/src/MpvNet/Player.cs b/src/MpvNet/Player.cs index e97b8b3e..d333de8d 100644 --- a/src/MpvNet/Player.cs +++ b/src/MpvNet/Player.cs @@ -104,6 +104,7 @@ public void Init(IntPtr formHandle, bool processCommandLine) SetPropertyBool("input-builtin-bindings", false); SetPropertyBool("input-media-keys", true); + SetPropertyString("autocreate-playlist", "filter"); SetPropertyString("media-controls", "yes"); SetPropertyString("idle", "yes"); SetPropertyString("screenshot-directory", "~~desktop/");