@@ -9,12 +9,30 @@ public static List<Binding> GetDefaults()
99 {
1010 List < Binding > b = new ( ) ;
1111
12+ Add ( b , new ( "" , "" , "script-binding select/select-playlist" , "g-p" , _ ( "Playlist" ) ) ) ;
13+ Add ( b , new ( "" , "" , "script-binding select/select-sid" , "g-s" , _ ( "Subtitles" ) ) ) ;
14+ Add ( b , new ( "" , "" , "script-binding select/select-secondary-sid" , "g-S" , _ ( "Secondary Subtitles" ) ) ) ;
15+ Add ( b , new ( "" , "" , "script-binding select/select-aid" , "g-a" , _ ( "Audio Tracks" ) ) ) ;
16+ Add ( b , new ( "" , "" , "script-binding select/select-vid" , "g-v" , _ ( "Video Tracks" ) ) ) ;
17+ Add ( b , new ( "" , "" , "script-binding select/select-track" , "g-t" , _ ( "Tracks" ) ) ) ;
18+ Add ( b , new ( "" , "" , "script-binding select/select-chapter" , "g-c" , _ ( "Chapters" ) ) ) ;
19+ Add ( b , new ( "" , "" , "script-binding select/select-edition" , "g-e" , _ ( "Editions" ) ) ) ;
20+ Add ( b , new ( "" , "" , "script-binding select/select-subtitle-line" , "g-l" , _ ( "Subtitle Lines" ) ) ) ;
21+ Add ( b , new ( "" , "" , "script-binding select/select-audio-device" , "g-d" , _ ( "Audio Devices" ) ) ) ;
22+ Add ( b , new ( "" , "" , "script-binding select/select-watch-history" , "g-h" , _ ( "Watch History" ) ) ) ;
23+ Add ( b , new ( "" , "" , "script-binding select/select-watch-later" , "g-w" , _ ( "Watch Later" ) ) ) ;
24+ Add ( b , new ( "" , "" , "script-binding select/select-binding" , "g-b" , _ ( "Bindings" ) ) ) ;
25+ Add ( b , new ( "" , "" , "script-binding select/show-properties" , "g-r" , _ ( "Properties" ) ) ) ;
26+ Add ( b , new ( "" , "" , "script-binding select/menu" , "g-m" , _ ( "Select Menu" ) ) ) ;
27+ Add ( b , new ( "" , "" , "script-binding select/menu" , "MENU" , _ ( "Select Menu" ) ) ) ;
28+ Add ( b , new ( "" , "" , "script-binding select/menu" , "Ctrl+p" , _ ( "Select Menu" ) ) ) ;
29+
1230 Add ( b , new ( _ ( "File" ) , _ ( "Open Files..." ) , "script-message-to mpvnet open-files" , "o" ) ) ;
1331 Add ( b , new ( _ ( "File" ) , _ ( "Open URL or file from clipboard" ) , "script-message-to mpvnet open-clipboard" , "Ctrl+v" ) ) ;
1432 Add ( b , new ( _ ( "File" ) , _ ( "Open DVD/Blu-ray Drive/Folder..." ) , "script-message-to mpvnet open-optical-media" ) ) ;
1533 Add ( b , new ( _ ( "File" ) , "-" ) ) ;
16- Add ( b , new ( _ ( "File" ) , _ ( "Add external audio files..." ) , "script-message-to mpvnet load-audio" , "Alt+a" ) ) ;
17- Add ( b , new ( _ ( "File" ) , _ ( "Add external subtitle files..." ) , "script-message-to mpvnet load-sub" , "Alt+s" ) ) ;
34+ Add ( b , new ( _ ( "File" ) , _ ( "Add external audio files..." ) , "script-message-to mpvnet load-audio" ) ) ;
35+ Add ( b , new ( _ ( "File" ) , _ ( "Add external subtitle files..." ) , "script-message-to mpvnet load-sub" ) ) ;
1836 Add ( b , new ( _ ( "File" ) , "-" ) ) ;
1937 Add ( b , new ( _ ( "File" ) , _ ( "Add files to playlist..." ) , "script-message-to mpvnet open-files append" ) ) ;
2038 Add ( b , new ( _ ( "File" ) , _ ( "Add files/URLs to playlist from clipboard" ) , "script-message-to mpvnet open-clipboard append" , "Ctrl+Shift+v" ) ) ;
@@ -118,23 +136,26 @@ public static List<Binding> GetDefaults()
118136 Add ( b , new ( _ ( "Speed" ) , "-" ) ) ;
119137 Add ( b , new ( _ ( "Speed" ) , _ ( "Reset" ) , "set speed 1" , "BS" ) ) ;
120138
139+ Add ( b , new ( _ ( "View" ) , _ ( "Playlist" ) , "script-binding select/select-playlist" , "F8" ) ) ;
121140 Add ( b , new ( _ ( "View" ) , _ ( "Toggle Statistics" ) , "script-binding stats/display-stats-toggle" , "t" ) ) ;
122141 Add ( b , new ( _ ( "View" ) , _ ( "Toggle OSC Visibility" ) , "script-binding osc/visibility" , "Del" ) ) ;
123- Add ( b , new ( _ ( "View" ) , _ ( "Show Media Info On-Screen" ) , "script-message-to mpvnet show-media-info osd" , "i" ) ) ;
124- Add ( b , new ( _ ( "View" ) , _ ( "Show Media Info Message Box" ) , "script-message-to mpvnet show-media-info msgbox" , "Ctrl+m" ) ) ;
125- Add ( b , new ( _ ( "View" ) , _ ( "Show Progress" ) , "show-progress" , "p" ) ) ;
126-
127- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Playlist" ) , "script-binding select/select-playlist" , "F8" ) ) ;
128- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Bindings" ) , "script-binding select/select-binding" , "F1" ) ) ;
129- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Properties" ) , "script-binding select/show-properties" , "F3" ) ) ;
130- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Chapters" ) , "script-binding select/select-chapter" , "Alt+c" ) ) ;
131- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Tracks" ) , "script-binding select/select-track" , "F9" ) ) ;
132- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Audio Tracks" ) , "script-binding select/select-aid" ) ) ;
133- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Subtitle Tracks" ) , "script-binding select/select-sid" ) ) ;
134- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Secondary Subtitle" ) , "script-binding select/select-secondary-sid" , "Alt+b" ) ) ;
135- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Video Tracks" ) , "script-binding select/select-vid" , "Alt+v" ) ) ;
136- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Subtitle Lines" ) , "script-binding select/select-subtitle-line" , "Alt+l" ) ) ;
137- Add ( b , new ( _ ( "View" ) + " > " + _ ( "On Screen Menu" ) , _ ( "Audio Devices" ) , "script-binding select/select-audio-device" , "Alt+d" ) ) ;
142+ Add ( b , new ( _ ( "View" ) , _ ( "Media Info On-Screen" ) , "script-message-to mpvnet show-media-info osd" , "i" ) ) ;
143+ Add ( b , new ( _ ( "View" ) , _ ( "Media Info Message Box" ) , "script-message-to mpvnet show-media-info msgbox" , "Ctrl+m" ) ) ;
144+ Add ( b , new ( _ ( "View" ) , _ ( "Progress" ) , "show-progress" , "p" ) ) ;
145+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Playlist" ) , "script-binding select/select-playlist" , "F8" ) ) ;
146+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Bindings" ) , "script-binding select/select-binding" , "F1" ) ) ;
147+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Properties" ) , "script-binding select/show-properties" , "F2" ) ) ;
148+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Chapters" ) , "script-binding select/select-chapter" , "Alt+c" ) ) ;
149+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Tracks" ) , "script-binding select/select-track" , "F9" ) ) ;
150+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Audio Tracks" ) , "script-binding select/select-aid" , "Alt+a" ) ) ;
151+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Subtitle Tracks" ) , "script-binding select/select-sid" , "Alt+s" ) ) ;
152+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Secondary Subtitle" ) , "script-binding select/select-secondary-sid" , "Alt+b" ) ) ;
153+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Video Tracks" ) , "script-binding select/select-vid" , "Alt+v" ) ) ;
154+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Editions" ) , "script-binding select/select-edition" , "Alt+e" ) ) ;
155+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Subtitle Lines" ) , "script-binding select/select-subtitle-line" , "Alt+l" ) ) ;
156+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Audio Devices" ) , "script-binding select/select-audio-device" , "Alt+d" ) ) ;
157+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Watch History" ) , "script-binding select/select-watch-history" , "Alt+h" ) ) ;
158+ Add ( b , new ( _ ( "View" ) + " > " + _ ( "Select Menu" ) , _ ( "Watch Later" ) , "script-binding select/select-watch-later" ) ) ;
138159
139160 if ( File . Exists ( Player . ConfigFolder + "/scripts/command_palette.lua" ) )
140161 {
@@ -159,6 +180,7 @@ public static List<Binding> GetDefaults()
159180 Add ( b , new ( _ ( "View" ) + " > " + _ ( "Command Palette" ) , _ ( "Recent Files" ) , "script-message-to mpvnet show-recent-in-command-palette" , "Alt+f" ) ) ;
160181 }
161182
183+ Add ( b , new ( _ ( "View" ) , "-" ) ) ;
162184 Add ( b , new ( _ ( "View" ) + " > " + _ ( "More" ) , _ ( "Show Console" ) , "script-binding console/enable" , "`" ) ) ;
163185 Add ( b , new ( _ ( "View" ) + " > " + _ ( "More" ) , _ ( "Show Commands" ) , "script-message-to mpvnet show-commands" , "F2" ) ) ;
164186 Add ( b , new ( _ ( "View" ) + " > " + _ ( "More" ) , _ ( "Show Bindings" ) , "script-message-to mpvnet show-bindings" ) ) ;
0 commit comments