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: b8c0723bbba551561d883cbd57d5a11e08671442
Parent: e65cb9262a6ca2c8f078a4b008a6fbeb12afe82c
Author: Ren Tatsumoto
Date:   Sun,  6 Sep 2020 16:56:35 +0300

Merge branch 'master' of github.com:Ajatt-Tools/mpvacious into master

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

diff --git a/README.md b/README.md @@ -4,7 +4,8 @@ Because voracious is bloated. ## Requirements * A [distribution](https://www.gnu.org/distros/free-distros.html) of [GNU/Linux](https://www.gnu.org/gnu/about-gnu.html). -Preferably [Arch-based](https://www.parabola.nu/). Probably works on windows too. +Preferably [Arch-based](https://www.parabola.nu/). +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 @@ -136,6 +137,8 @@ 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. + ### 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``` in the Anki Browser. Then use [qolibri](https://aur.archlinux.org/packages/qolibri/) diff --git a/subs2srs.lua b/subs2srs.lua @@ -5,10 +5,11 @@ -- * Config file isn't created automatically. -- -- 2. Open a video --- 3. --- * `Ctrl + e` creates a note from the current sub. --- * `Ctrl + s` sets a starting line of the note (then continue watching and press `Ctrl + e` to set the ending line) --- * `Ctrl + t` toggles clipboard autocopy (to use with Yomichan) +-- 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, +-- concatenate subtitle lines, toggle clipboard autocopy, and more. -- Requirements: -- * ffmpeg