mpv2oboeru

mpv helpers to create flashcards from movies and TV shows
git clone anongit@rnpnr.xyz:mpv2oboeru.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 0160a83c0eda330b2d37dfa3dead688820503a82
Parent: 41f8599e11d0d752db49ed832f56019579be01df
Author: Ren Tatsumoto
Date:   Mon,  7 Sep 2020 02:24:02 +0300

miscellaneous

Diffstat:
MREADME.md | 7++++---
Msubs2srs.lua | 2+-
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -9,9 +9,9 @@ Probably works on windows too, but you're completely on your own there. * [Anki](https://wiki.archlinux.org/index.php/Anki) * [FFmpeg](https://wiki.archlinux.org/index.php/FFmpeg) * The [AnkiConnect](https://ankiweb.net/shared/info/2055492159) plugin -* curl (you should already have this) * [xdotool](https://www.archlinux.org/packages/community/x86_64/xdotool/) (to avoid a certain Ankiconnect [bug](https://github.com/FooSoft/anki-connect/issues/82)) +* [curl](https://www.archlinux.org/packages/core/x86_64/curl/) (you should already have this) ## Installation @@ -112,6 +112,7 @@ Ctrl+t script-binding toggle-sub-autocopy ``` ## Usage ### Global bindings +These bindings work everywhere, even if the menu (covered later) is not envoked. * `Ctrl+e` - Export a card with the currently visible subtitle line on the front. Use this when your subs are perfectly timed and the target sentence doesn't span multiple subs. * `Ctrl+h` - Seek to the start of the currently visible subtitle. Use it if you missed something. @@ -125,7 +126,7 @@ We need to combine the lines before making a card. It does nothing if there's no subs on screen. Then seek or continue watching until the next line that you want to combine appears on screen. -Press `Ctrl+e` to make the card. +Press `n` to make the card. * `r` - Forget all previously saved timings and associated dialogs. @@ -139,7 +140,7 @@ If above fails, you have to manually set timings. * `s` - Set the start time. * `e` - Set the end time. -Then, as always, press `ctrl+e` to make the card. +Then, as earlier, press `n` to make the card. ### How do I add definitions to the card I just made After the card is created, you can find it by typing ```tag:subs2srs added:1``` diff --git a/subs2srs.lua b/subs2srs.lua @@ -8,7 +8,7 @@ -- 3. Use key bindings to manipulate the script -- * `Ctrl + e` - Creates a note from the current sub. -- * `a` - Opens advanced options. --- There you can adjust and reset timings, +-- There you can adjust and reset timings, -- concatenate subtitle lines, toggle clipboard autocopy, and more. -- Requirements: