diff --git a/docs/changelog.md b/docs/changelog.md index e5e05cb..8207b9b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,4 +1,8 @@ +# v7.0.0.5 Beta (2023-??-??) + +- Command line parser fix using list options with `-add` suffix. + # v7.0.0.4 Beta (2023-12-19) - When mpv.net is started for the first time from a new startup location, diff --git a/src/MpvNet.Windows/Help/WinMpvHelp.cs b/src/MpvNet.Windows/Help/WinMpvHelp.cs index 5379502..10750d1 100644 --- a/src/MpvNet.Windows/Help/WinMpvHelp.cs +++ b/src/MpvNet.Windows/Help/WinMpvHelp.cs @@ -35,7 +35,7 @@ public class WinMpvHelp } else Msg.ShowInfo("If you want to add mpv.net to the Path environment variable later," + BR + - "you can do so with the context menu (Settings/Setup)"); + "you can do so with the context menu (Settings/Setup)."); } var result2 = Msg.ShowQuestion("Would you like to register video file associations?", MessageBoxButton.YesNo); @@ -51,7 +51,7 @@ public class WinMpvHelp } else Msg.ShowInfo("If you want to register file associations later," + BR + - "you can do so with the context menu (Settings/Setup)"); + "you can do so with the context menu (Settings/Setup)."); RegistryHelp.SetString("Setup", Folder.Startup); } diff --git a/src/MpvNet/Player.cs b/src/MpvNet/Player.cs index 44ce40e..7fc28cd 100644 --- a/src/MpvNet/Player.cs +++ b/src/MpvNet/Player.cs @@ -435,7 +435,7 @@ public class MainPlayer : MpvClient { string name = pair.Name[..^4]; string separator = name.Contains("-file") || name.Contains("-path") ? ";" : ","; - SetPropertyString(name, GetPropertyString(name) + separator + pair.Value); + SetPropertyString(name, (GetPropertyString(name) + separator + pair.Value).TrimStart(',')); } } }