feat: update default menu items
This commit is contained in:
13
README.md
13
README.md
@@ -304,23 +304,22 @@ Define a folder without defining any of its contents:
|
|||||||
|
|
||||||
Example context menu:
|
Example context menu:
|
||||||
|
|
||||||
This is the default pre-configured menu if none is defined in your `input.conf`, but with added shortcuts.
|
This is the default pre-configured menu if none is defined in your `input.conf`, but with added shortcuts. To both pause & move the window with left mouse button, so that you can have the menu on the right one, enable `click_threshold` in `uosc.conf` (see default `uosc.conf` for example/docs).
|
||||||
|
|
||||||
```
|
```
|
||||||
menu script-binding uosc/menu
|
menu script-binding uosc/menu
|
||||||
mbtn_right script-binding uosc/menu
|
mbtn_right script-binding uosc/menu
|
||||||
o script-binding uosc/open-file #! Open file
|
s script-binding uosc/subtitles #! Subtitles
|
||||||
P script-binding uosc/playlist #! Playlist
|
a script-binding uosc/audio #! Audio tracks
|
||||||
C script-binding uosc/chapters #! Chapters
|
|
||||||
S script-binding uosc/subtitles #! Subtitle tracks
|
|
||||||
A script-binding uosc/audio #! Audio tracks
|
|
||||||
q script-binding uosc/stream-quality #! Stream quality
|
q script-binding uosc/stream-quality #! Stream quality
|
||||||
|
p script-binding uosc/items #! Playlist
|
||||||
|
c script-binding uosc/chapters #! Chapters
|
||||||
> script-binding uosc/next #! Navigation > Next
|
> script-binding uosc/next #! Navigation > Next
|
||||||
< script-binding uosc/prev #! Navigation > Prev
|
< script-binding uosc/prev #! Navigation > Prev
|
||||||
alt+> script-binding uosc/delete-file-next #! Navigation > Delete file & Next
|
alt+> script-binding uosc/delete-file-next #! Navigation > Delete file & Next
|
||||||
alt+< script-binding uosc/delete-file-prev #! Navigation > Delete file & Prev
|
alt+< script-binding uosc/delete-file-prev #! Navigation > Delete file & Prev
|
||||||
alt+esc script-binding uosc/delete-file-quit #! Navigation > Delete file & Quit
|
alt+esc script-binding uosc/delete-file-quit #! Navigation > Delete file & Quit
|
||||||
alt+s script-binding uosc/load-subtitles #! Utils > Load subtitles
|
o script-binding uosc/open-file #! Navigation > Open file
|
||||||
# set video-aspect-override "-1" #! Utils > Aspect ratio > Default
|
# set video-aspect-override "-1" #! Utils > Aspect ratio > Default
|
||||||
# set video-aspect-override "16:9" #! Utils > Aspect ratio > 16:9
|
# set video-aspect-override "16:9" #! Utils > Aspect ratio > 16:9
|
||||||
# set video-aspect-override "4:3" #! Utils > Aspect ratio > 4:3
|
# set video-aspect-override "4:3" #! Utils > Aspect ratio > 4:3
|
||||||
|
@@ -249,21 +249,20 @@ local fgt, bgt = serialize_rgba(options.foreground_text).color, serialize_rgba(o
|
|||||||
|
|
||||||
local function create_default_menu()
|
local function create_default_menu()
|
||||||
return {
|
return {
|
||||||
{title = 'Open file', value = 'script-binding uosc/open-file'},
|
{title = 'Subtitles', value = 'script-binding uosc/subtitles'},
|
||||||
{title = 'Playlist', value = 'script-binding uosc/playlist'},
|
|
||||||
{title = 'Chapters', value = 'script-binding uosc/chapters'},
|
|
||||||
{title = 'Subtitle tracks', value = 'script-binding uosc/subtitles'},
|
|
||||||
{title = 'Audio tracks', value = 'script-binding uosc/audio'},
|
{title = 'Audio tracks', value = 'script-binding uosc/audio'},
|
||||||
{title = 'Stream quality', value = 'script-binding uosc/stream-quality'},
|
{title = 'Stream quality', value = 'script-binding uosc/stream-quality'},
|
||||||
|
{title = 'Playlist', value = 'script-binding uosc/items'},
|
||||||
|
{title = 'Chapters', value = 'script-binding uosc/chapters'},
|
||||||
{title = 'Navigation', items = {
|
{title = 'Navigation', items = {
|
||||||
{title = 'Next', hint = 'playlist or file', value = 'script-binding uosc/next'},
|
{title = 'Next', hint = 'playlist or file', value = 'script-binding uosc/next'},
|
||||||
{title = 'Prev', hint = 'playlist or file', value = 'script-binding uosc/prev'},
|
{title = 'Prev', hint = 'playlist or file', value = 'script-binding uosc/prev'},
|
||||||
{title = 'Delete file & Next', value = 'script-binding uosc/delete-file-next'},
|
{title = 'Delete file & Next', value = 'script-binding uosc/delete-file-next'},
|
||||||
{title = 'Delete file & Prev', value = 'script-binding uosc/delete-file-prev'},
|
{title = 'Delete file & Prev', value = 'script-binding uosc/delete-file-prev'},
|
||||||
{title = 'Delete file & Quit', value = 'script-binding uosc/delete-file-quit'},
|
{title = 'Delete file & Quit', value = 'script-binding uosc/delete-file-quit'},
|
||||||
|
{title = 'Open file', value = 'script-binding uosc/open-file'},
|
||||||
},},
|
},},
|
||||||
{title = 'Utils', items = {
|
{title = 'Utils', items = {
|
||||||
{title = 'Load subtitles', value = 'script-binding uosc/load-subtitles'},
|
|
||||||
{title = 'Aspect ratio', items = {
|
{title = 'Aspect ratio', items = {
|
||||||
{title = 'Default', value = 'set video-aspect-override "-1"'},
|
{title = 'Default', value = 'set video-aspect-override "-1"'},
|
||||||
{title = '16:9', value = 'set video-aspect-override "16:9"'},
|
{title = '16:9', value = 'set video-aspect-override "16:9"'},
|
||||||
|
Reference in New Issue
Block a user