diff --git a/docs/changelog.md b/docs/changelog.md index 2b323f2..0d0a64e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,7 @@ # v7.1.1.2 Beta (????-??-??) - German and Turkish translation updated. Thanks to the translation team! +- Support relative folders from command line. # v7.1.1.1 Beta (2024-07-20) diff --git a/src/MpvNet/CommandLine.cs b/src/MpvNet/CommandLine.cs index 5364b4d..dac2f42 100644 --- a/src/MpvNet/CommandLine.cs +++ b/src/MpvNet/CommandLine.cs @@ -117,7 +117,8 @@ public class CommandLine foreach (string arg in Environment.GetCommandLineArgs().Skip(1)) if (!arg.StartsWith("--") && (arg == "-" || arg.Contains("://") || - arg.Contains(":\\") || arg.StartsWith("\\\\") || File.Exists(arg))) + arg.Contains(":\\") || arg.StartsWith("\\\\") || arg.StartsWith(".") || + File.Exists(arg))) files.Add(arg);