From 8982ec02694f925ebb311b386dcd06063e5e55fe Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 4 Mar 2024 12:18:49 +0530 Subject: mpv: bind b to sub_setup --- README.md | 2 +- main.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c30694e..518da5e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ TODO ---- - [ ] use language from slang and fall back to english - [x] deprecate subscene (unreliable servers and poor db) -- [ ] add key binding to force subtitle lookup +- [x] add key binding to force subtitle lookup - [ ] implement text search on all severs - [ ] remove the default retries - [ ] shill on reddit and matrix diff --git a/main.lua b/main.lua index 2609b65..1b1eeb5 100644 --- a/main.lua +++ b/main.lua @@ -80,3 +80,4 @@ local file_listener = function () end mp.register_event('file-loaded', file_listener) +mp.add_key_binding('b', "mpvsub", sub_setup) -- cgit v1.2.3