Changed default keys and menu items

This commit is contained in:
stax76
2025-10-05 16:53:55 +02:00
parent f7c8c16344
commit e5d3ac0d92
3 changed files with 57 additions and 45 deletions

View File

@@ -1,8 +1,20 @@
# v7.1.1.5 Beta (????-??-??)
- Same as in mpv the `?` and `t-4` keys can be used to show the active
key bindings on-screen, it supports scrolling and searching.
In the context menu it's located at:
`View > More > Show Active Bindings On-Screen`
- Some bindings have changed:
`F1` On-Screen menu
`F2` Bindings
`F3` Properties
`F4` Commands
# v7.1.1.4 Beta (2025-10-05)
- Support for select.lua has been added. It's a new Lua script built
directly into mpv like the osc console script. It's similar to command_palete.lua.
directly into mpv like the osc or console script. It's similar to command_palete.lua.
- Fix --script-opt not working.
- The mpv.net manual was updated.
- The Turkish translation was updated. A Bulgarian translation was added.

View File

@@ -10,9 +10,9 @@
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>mpv-icon.ico</ApplicationIcon>
<FileVersion>7.1.1.4</FileVersion>
<AssemblyVersion>7.1.1.4</AssemblyVersion>
<InformationalVersion>7.1.1.4</InformationalVersion>
<FileVersion>7.1.1.5</FileVersion>
<AssemblyVersion>7.1.1.5</AssemblyVersion>
<InformationalVersion>7.1.1.5</InformationalVersion>
</PropertyGroup>
<ItemGroup>

View File

@@ -7,25 +7,7 @@ public static class InputHelp
{
public static List<Binding> GetDefaults()
{
List<Binding> b = new();
Add(b, new("", "", "script-binding select/select-playlist", "g-p", _("Playlist")));
Add(b, new("", "", "script-binding select/select-sid", "g-s", _("Subtitles")));
Add(b, new("", "", "script-binding select/select-secondary-sid", "g-S", _("Secondary Subtitles")));
Add(b, new("", "", "script-binding select/select-aid", "g-a", _("Audio Tracks")));
Add(b, new("", "", "script-binding select/select-vid", "g-v", _("Video Tracks")));
Add(b, new("", "", "script-binding select/select-track", "g-t", _("Tracks")));
Add(b, new("", "", "script-binding select/select-chapter", "g-c", _("Chapters")));
Add(b, new("", "", "script-binding select/select-edition", "g-e", _("Editions")));
Add(b, new("", "", "script-binding select/select-subtitle-line", "g-l", _("Subtitle Lines")));
Add(b, new("", "", "script-binding select/select-audio-device", "g-d", _("Audio Devices")));
Add(b, new("", "", "script-binding select/select-watch-history", "g-h", _("Watch History")));
Add(b, new("", "", "script-binding select/select-watch-later", "g-w", _("Watch Later")));
Add(b, new("", "", "script-binding select/select-binding", "g-b", _("Bindings")));
Add(b, new("", "", "script-binding select/show-properties", "g-r", _("Properties")));
Add(b, new("", "", "script-binding select/menu", "g-m", _("Select Menu")));
Add(b, new("", "", "script-binding select/menu", "MENU", _("Select Menu")));
Add(b, new("", "", "script-binding select/menu", "Ctrl+p", _("Select Menu")));
List<Binding> b = [];
Add(b, new (_("File"), _("Open Files..."), "script-message-to mpvnet open-files", "o"));
Add(b, new (_("File"), _("Open URL or file from clipboard"), "script-message-to mpvnet open-clipboard", "Ctrl+v"));
@@ -142,29 +124,30 @@ public static class InputHelp
Add(b, new (_("View"), _("Media Info On-Screen"), "script-message-to mpvnet show-media-info osd", "i"));
Add(b, new (_("View"), _("Media Info Message Box"), "script-message-to mpvnet show-media-info msgbox", "Ctrl+m"));
Add(b, new (_("View"), _("Progress"), "show-progress", "p"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Playlist"), "script-binding select/select-playlist", "F8"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Bindings"), "script-binding select/select-binding", "F1"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Properties"), "script-binding select/show-properties", "F2"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Chapters"), "script-binding select/select-chapter", "Alt+c"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Tracks"), "script-binding select/select-track", "F9"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Audio Tracks"), "script-binding select/select-aid", "Alt+a"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Subtitle Tracks"), "script-binding select/select-sid", "Alt+s"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Secondary Subtitle"), "script-binding select/select-secondary-sid", "Alt+b"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Video Tracks"), "script-binding select/select-vid", "Alt+v"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Editions"), "script-binding select/select-edition", "Alt+e"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Subtitle Lines"), "script-binding select/select-subtitle-line", "Alt+l"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Audio Devices"), "script-binding select/select-audio-device", "Alt+d"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Watch History"), "script-binding select/select-watch-history", "Alt+h"));
Add(b, new (_("View") + " > " + _("Select Menu"), _("Watch Later"), "script-binding select/select-watch-later"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("On-Screen Menu"), "script-binding select/menu", "F1"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Playlist"), "script-binding select/select-playlist", "F8"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Bindings"), "script-binding select/select-binding", "F2"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Properties"), "script-binding select/show-properties", "F3"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Chapters"), "script-binding select/select-chapter", "Alt+c"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Tracks"), "script-binding select/select-track", "F9"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Audio Tracks"), "script-binding select/select-aid", "Alt+a"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Subtitle Tracks"), "script-binding select/select-sid", "Alt+s"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Secondary Subtitle"), "script-binding select/select-secondary-sid", "Alt+b"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Video Tracks"), "script-binding select/select-vid", "Alt+v"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Editions"), "script-binding select/select-edition", "Alt+e"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Subtitle Lines"), "script-binding select/select-subtitle-line", "Alt+l"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Audio Devices"), "script-binding select/select-audio-device", "Alt+d"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Watch History"), "script-binding select/select-watch-history", "Alt+h"));
Add(b, new (_("View") + " > " + _("On-Screen Menu"), _("Watch Later"), "script-binding select/select-watch-later"));
Add(b, new (_("View"), "-"));
Add(b, new (_("View") + " > " + _("More"), _("Show Console"), "script-binding console/enable", "`"));
Add(b, new (_("View") + " > " + _("More"), _("Show Commands"), "script-message-to mpvnet show-commands", "F3"));
Add(b, new (_("View") + " > " + _("More"), _("Show Bindings"), "script-message-to mpvnet show-bindings"));
Add(b, new (_("View") + " > " + _("More"), _("Show Keys"), "script-message-to mpvnet show-keys", "Alt+k"));
Add(b, new (_("View") + " > " + _("More"), _("Show Protocols"), "script-message-to mpvnet show-protocols", "Alt+p"));
Add(b, new (_("View") + " > " + _("More"), _("Show Decoders"), "script-message-to mpvnet show-decoders"));
Add(b, new (_("View") + " > " + _("More"), _("Show Demuxers"), "script-message-to mpvnet show-demuxers"));
Add(b, new (_("View") + " > " + _("More"), _("Console"), "script-binding console/enable", "`"));
Add(b, new (_("View") + " > " + _("More"), _("Commands"), "script-message-to mpvnet show-commands", "F4"));
Add(b, new (_("View") + " > " + _("More"), _("Active Bindings In Text Editor"), "script-message-to mpvnet show-bindings"));
Add(b, new (_("View") + " > " + _("More"), _("Active Bindings On-Screen"), "script-binding stats/display-page-4-toggle", "?"));
Add(b, new (_("View") + " > " + _("More"), _("Keys"), "script-message-to mpvnet show-keys", "Alt+k"));
Add(b, new (_("View") + " > " + _("More"), _("Protocols"), "script-message-to mpvnet show-protocols", "Alt+p"));
Add(b, new (_("View") + " > " + _("More"), _("Decoders"), "script-message-to mpvnet show-decoders"));
Add(b, new (_("View") + " > " + _("More"), _("Demuxers"), "script-message-to mpvnet show-demuxers"));
Add(b, new (_("Window"), _("Fullscreen"), "cycle fullscreen", "Enter"));
Add(b, new (_("Window") + " > " + _("Zoom"), _("Enlarge"), "script-message-to mpvnet scale-window 1.2", "Alt++"));
@@ -249,6 +232,23 @@ public static class InputHelp
Add(b, new ("", "", "no-osd seek 5", "Ctrl+Wheel_Up", _("Seek Forward")));
Add(b, new ("", "", "no-osd seek -5", "Ctrl+Wheel_Down", _("Seek Backward")));
Add(b, new ("", "", "quit", "Power", _("Exit")));
Add(b, new ("", "", "script-binding select/select-playlist", "g-p", _("Playlist")));
Add(b, new ("", "", "script-binding select/select-sid", "g-s", _("Subtitles")));
Add(b, new ("", "", "script-binding select/select-secondary-sid", "g-S", _("Secondary Subtitles")));
Add(b, new ("", "", "script-binding select/select-aid", "g-a", _("Audio Tracks")));
Add(b, new ("", "", "script-binding select/select-vid", "g-v", _("Video Tracks")));
Add(b, new ("", "", "script-binding select/select-track", "g-t", _("Tracks")));
Add(b, new ("", "", "script-binding select/select-chapter", "g-c", _("Chapters")));
Add(b, new ("", "", "script-binding select/select-edition", "g-e", _("Editions")));
Add(b, new ("", "", "script-binding select/select-subtitle-line", "g-l", _("Subtitle Lines")));
Add(b, new ("", "", "script-binding select/select-audio-device", "g-d", _("Audio Devices")));
Add(b, new ("", "", "script-binding select/select-watch-history", "g-h", _("Watch History")));
Add(b, new ("", "", "script-binding select/select-watch-later", "g-w", _("Watch Later")));
Add(b, new ("", "", "script-binding select/select-binding", "g-b", _("Bindings")));
Add(b, new ("", "", "script-binding select/show-properties", "g-r", _("Properties")));
Add(b, new ("", "", "script-binding select/menu", "g-m", _("Select Menu")));
Add(b, new ("", "", "script-binding select/menu", "MENU", _("Select Menu")));
Add(b, new ("", "", "script-binding select/menu", "Ctrl+p", _("Select Menu")));
return b;