Skip to content

Commit 3de72df

Browse files
committed
use autocreate-playlist instead of auto-load-folder
1 parent da17608 commit 3de72df

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

docs/changelog.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44
- Polish translation fixed. German, Turkish and Japanese translation updated.
55
French translation added! Thanks to the translation team!
66
- Support of relative folders from command line.
7-
- Support for the mpv option `cursor-autohide` has been added.
7+
- Support for the mpv option `cursor-autohide`.
88
- A issue with the support of the mpv property `title-bar` has been fixed,
99
at the moment this is most useful for users of the popular uosc user script,
1010
the mpv built-in OSC doesn't fully support it yet.
11-
- Set `media-controls=yes` by default.
11+
- `media-controls=yes` is now enabled by default, this enables play controls
12+
in the `KDE Connect` android app.
13+
- The mpv.net option `auto-load-folder` by default is now disabled and the
14+
option is deprecated. The reason for this is mpv has new native support
15+
for it using `autocreate-playlist`, which mpv.net uses now instead by default.
16+
- New zhongfly libmpv x64 build.
17+
- New Andarwinux libmpv ARM64 build.
1218

1319

1420
# v7.1.1.1 Beta (2024-07-20)

docs/manual.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,11 @@ are used as defined by autofit and start-size. Default: 1500
407407

408408
#### --auto-load-folder=\<yes|no\>
409409

410-
For single files automatically load the entire directory into the playlist.
410+
For single files automatically load the entire directory
411+
into the playlist. This option by default is disabled.
412+
The option is deprecated because mpv now has native
413+
support for it using `autocreate-playlist`,
414+
which by default mpv.net sets to `autocreate-playlist=filter`.
411415

412416

413417
### General

src/MpvNet/App.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class AppClass
2121
public string CommandLine { get; set; } = Environment.CommandLine;
2222
public string MenuSyntax { get; set; } = "#menu:";
2323

24-
public bool AutoLoadFolder { get; set; } = true;
24+
public bool AutoLoadFolder { get; set; }
2525
public bool DebugMode { get; set; }
2626
public bool Exit { get; set; }
2727
public bool IsTerminalAttached { get; } = Environment.GetEnvironmentVariable("_started_from_console") == "yes";

src/MpvNet/Player.cs

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public void Init(IntPtr formHandle, bool processCommandLine)
104104
SetPropertyBool("input-builtin-bindings", false);
105105
SetPropertyBool("input-media-keys", true);
106106

107+
SetPropertyString("autocreate-playlist", "filter");
107108
SetPropertyString("media-controls", "yes");
108109
SetPropertyString("idle", "yes");
109110
SetPropertyString("screenshot-directory", "~~desktop/");

0 commit comments

Comments
 (0)