From 72ed68739025bb857ecbde03a556f27792731ff0 Mon Sep 17 00:00:00 2001 From: stax76 Date: Sat, 5 Mar 2022 22:06:20 +0100 Subject: [PATCH] minor things --- docs/Manual.md | 2 +- src/Misc/Commands.cs | 4 ++-- src/WPF/ConfWindow.xaml | 7 ++++--- src/WPF/ConfWindow.xaml.cs | 2 ++ 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/Manual.md b/docs/Manual.md index cfe3374..345eb5f 100644 --- a/docs/Manual.md +++ b/docs/Manual.md @@ -267,7 +267,7 @@ Can be suppressed via shift key. Default: yes Defines if more then one mpv.net process is allowed. -Tip: Whenever the control key is pressed when files or URLs are opened, +Tip: Whenever the CTRL key is pressed when files or URLs are opened, the playlist is not cleared but the files or URLs are appended to the playlist. This not only works on process startup but in all mpv.net features that open files and URLs. diff --git a/src/Misc/Commands.cs b/src/Misc/Commands.cs index ce4163f..9995c0b 100644 --- a/src/Misc/Commands.cs +++ b/src/Misc/Commands.cs @@ -26,7 +26,7 @@ namespace mpvnet { case "add-files-to-playlist": OpenFiles("append"); break; // deprecated 2019 case "cycle-audio": CycleAudio(); break; - case "execute-mpv-command": Msg.ShowError("The command was removed, please reset input.conf by deleting it, in the new menu use the on screen console."); break; // deprecated 2020 + case "execute-mpv-command": Msg.ShowError("The command was removed, reset input.conf by deleting it, in the new menu use the on screen console."); break; // deprecated 2020 case "load-audio": LoadAudio(); break; case "load-sub": LoadSubtitle(); break; case "open-conf-folder": ProcessHelp.ShellExecute(Core.ConfigFolder); break; @@ -63,7 +63,7 @@ namespace mpvnet case "show-text": ShowText(args[0], Convert.ToInt32(args[1]), Convert.ToInt32(args[2])); break; case "window-scale": WindowScale(float.Parse(args[0], CultureInfo.InvariantCulture)); break; - default: Terminal.WriteError($"No command '{id}' found."); break; + default: Terminal.WriteError($"No command '{id}' found, reset input.conf by deleting it."); break; } } diff --git a/src/WPF/ConfWindow.xaml b/src/WPF/ConfWindow.xaml index d00d4f6..3fe6a10 100644 --- a/src/WPF/ConfWindow.xaml +++ b/src/WPF/ConfWindow.xaml @@ -9,7 +9,7 @@ mc:Ignorable="d" Title="Config Editor" - Height="530" + Height="540" Width="700" Foreground="{Binding Theme.Foreground}" Background="{Binding Theme.Background}" @@ -25,7 +25,7 @@ - + @@ -75,7 +75,8 @@ - Open config folder + Show mpv.net specific options + Open config folder Preview mpv.conf Show mpv manual Show support forum diff --git a/src/WPF/ConfWindow.xaml.cs b/src/WPF/ConfWindow.xaml.cs index 1aeb787..717087a 100644 --- a/src/WPF/ConfWindow.xaml.cs +++ b/src/WPF/ConfWindow.xaml.cs @@ -344,5 +344,7 @@ namespace mpvnet if (e.Key == Key.Escape) Close(); } + + void ShowMpvNetSpecific_MouseUp(object sender, MouseButtonEventArgs e) => SearchControl.Text = "mpv.net"; } }