diff --git a/docs/Changelog.md b/docs/Changelog.md index 04a4760..613624d 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -8,6 +8,7 @@ - playlist-random command jumps to a random playlist entry, default key binding is F9. - Fix OSC hide behavior on mouse move. - New binding to show the current file in File Explorer. +- Shift key enables `process-instance=multi`. - MediaInfo v22.06 - libmpv shinchiro 2022-07-02 diff --git a/src/Misc/Program.cs b/src/Misc/Program.cs index 448341b..b874c77 100644 --- a/src/Misc/Program.cs +++ b/src/Misc/Program.cs @@ -32,6 +32,9 @@ namespace mpvnet App.Init(); Mutex mutex = new Mutex(true, StringHelp.GetMD5Hash(App.ConfPath), out bool isFirst); + if (Control.ModifierKeys.HasFlag(Keys.Shift)) + App.ProcessInstance = "multi"; + if ((App.ProcessInstance == "single" || App.ProcessInstance == "queue") && !isFirst) { List args2 = new List();