From 43c150a18beb265ab1f0609bdf3d4679c8f6cdf6 Mon Sep 17 00:00:00 2001 From: Frank Skare Date: Mon, 12 Jul 2021 00:58:16 +0200 Subject: [PATCH] set pause no before loading file --- src/Misc/CorePlayer.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Misc/CorePlayer.cs b/src/Misc/CorePlayer.cs index ed505f2..580cc22 100644 --- a/src/Misc/CorePlayer.cs +++ b/src/Misc/CorePlayer.cs @@ -1134,10 +1134,15 @@ namespace mpvnet commandv("loadfile", @"bd://"); } else + { if (i == 0 && !append) + { + command("set pause no"); commandv("loadfile", file); + } else commandv("loadfile", file, "append"); + } } if (string.IsNullOrEmpty(get_property_string("path")))