use autocreate-playlist instead of auto-load-folder

This commit is contained in:
stax76
2024-10-10 13:32:19 +02:00
parent da176085cd
commit 3de72df806
4 changed files with 15 additions and 4 deletions

View File

@@ -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)

View File

@@ -407,7 +407,11 @@ are used as defined by autofit and start-size. Default: 1500
#### --auto-load-folder=\<yes|no\>
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

View File

@@ -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";

View File

@@ -104,6 +104,7 @@ public class MainPlayer : MpvClient
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/");