5.4.9.2 Beta

This commit is contained in:
Frank Skare
2021-08-08 14:31:43 +02:00
parent fbf50e7466
commit 95a3403898
7 changed files with 61 additions and 33 deletions

View File

@@ -1189,6 +1189,23 @@ namespace mpvnet
}
}
public void LoadDiskFolder(string path)
{
Core.Command("stop");
Thread.Sleep(500);
if (Directory.Exists(path + "\\BDMV"))
{
Core.SetPropertyString("bluray-device", path);
Core.LoadFiles(new[] { @"bd://" }, false, false);
}
else
{
Core.SetPropertyString("dvd-device", path);
Core.LoadFiles(new[] { @"dvd://" }, false, false);
}
}
public void LoadFolder()
{
if (!App.AutoLoadFolder || Control.ModifierKeys.HasFlag(Keys.Shift))