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: ba93458d0271d992b5cf374878e9884c14242d4d
Parent: 892ecdcf24d9fbc43cb3b8c0d9c7d84eab12103d
Author: Ren Tatsumoto
Date:   Sun, 20 Sep 2020 04:23:06 +0300

pressing shift+m overwrites media fields

Diffstat:
Msubs2srs.lua | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/subs2srs.lua b/subs2srs.lua @@ -792,6 +792,7 @@ menu.keybinds = { { key = 'g', fn = function() export_to_anki(true) end }, { key = 'n', fn = function() export_to_anki() end }, { key = 'm', fn = function() update_last_note() end }, + { key = 'M', fn = function() update_last_note(true) end }, { key = 't', fn = function() clip_autocopy.toggle() end }, { key = 'ESC', fn = function() menu.close() end }, } @@ -818,7 +819,7 @@ menu.update = function() osd:tab():bold('r: '):append('Reset timings'):newline() osd:tab():bold('n: '):append('Export note'):newline() osd:tab():bold('g: '):append('Export note using the `Add Cards` GUI'):newline() - osd:tab():bold('m: '):append('Add audio and image to the last added note'):newline() + osd:tab():bold('m: '):append('Add audio and image to the last added note '):italics('(+shift to overwrite)'):newline() osd:tab():bold('t: '):append('Toggle clipboard autocopy'):newline() osd:tab():bold('ESC: '):append('Close'):newline() osd:newline()