po5 / mpv_sponsorblock

mpv script to skip sponsored segments of YouTube videos
GNU General Public License v3.0
549 stars 29 forks source link

One Menu for all Actions #26

Closed mortyobnoxious closed 2 years ago

mortyobnoxious commented 3 years ago

Is it possible to use a menu like this to do all actions from:

image

For example g will open this menu:

Sponsor Block
1: set segment start 
2: set segment end
c: clear segment boundaries
u: upvote last segment
d: downvote last segment
s: submit
Esc: Close Menu

Submit will open a new menu similar to existing one:

image

This way users can use just one key to just open menu, other keys would be bound when menu is open and unbound when menu is closed.

Sorry in advance, if this is unnecessary but it would be clean and easy to remember.

po5 commented 3 years ago

This sounds like something better suited for uosc's menu system https://github.com/darsain/uosc