This commit is contained in:
stax76
2022-05-05 12:31:13 +02:00
parent 7d510a8ba7
commit 3b9368230c
4 changed files with 8 additions and 4 deletions

View File

@@ -116,7 +116,6 @@ namespace mpvnet
if (Handle == IntPtr.Zero)
throw new Exception("error mpv_create");
SetPropertyLong("wid", handle.ToInt64());
mpv_request_log_messages(Handle, "terminal-default");
@@ -130,6 +129,7 @@ namespace mpvnet
}
SetPropertyInt("osd-duration", 2000);
SetPropertyLong("wid", handle.ToInt64());
SetPropertyBool("input-default-bindings", true);
SetPropertyBool("input-builtin-bindings", false);

View File

@@ -513,7 +513,7 @@ filter = Playback
help = Using no, mpv would terminate after the last file but mpv.net never terminates automatically.
option = yes If the current file ends, go to the next file, keep the last file open.
option = no If the current file ends, go to the next file.
option = no If the current file ends, go to the next file. If keep-open-exit is set to yes, mpv.net exits after the last file.
option = always Playback will never automatically advance to the next file.
[setting]
@@ -531,7 +531,7 @@ name = keep-open-exit
file = mpvnet
default = no
filter = Playback
help = If set to yes and keep-open is set to no, mpv.net exits after the last file ends.
help = If set to yes and keep-open is set to no, mpv.net exits after the last file ends. In mpv the idle property would be used, it's not possible for mpv.net to use the idle property.
option = yes
option = no

View File

@@ -193,7 +193,7 @@
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Misc\Misc.cs" />
<Compile Include="Misc\CorePlayer.cs" />
<Compile Include="Misc\Player.cs" />
<Compile Include="Misc\Commands.cs" />
<Compile Include="Native\Native.cs" />
<Compile Include="Misc\Program.cs" />