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: a1262383ae991a861c33c8bee3a2e8737156d8e9
Parent: e46891a68abe1e350e4c6edc2a0cf4212866189a
Author: Ren Tatsumoto
Date:   Tue,  3 Aug 2021 17:36:29 +0300

osd compact timings, deck name

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

diff --git a/subs2srs.lua b/subs2srs.lua @@ -1522,10 +1522,11 @@ menu.update = function() local osd = OSD:new():size(config.menu_font_size):align(4) osd:submenu('mpvacious options'):newline() - osd:item('Start time: '):text(human_readable_time(subs.get_timing('start'))):newline() - osd:item('End time: '):text(human_readable_time(subs.get_timing('end'))):newline() + osd:item('Timings: '):text(human_readable_time(subs.get_timing('start'))) + osd:item(' to '):text(human_readable_time(subs.get_timing('end'))):newline() osd:item('Clipboard autocopy: '):text(clip_autocopy.is_enabled()):newline() osd:item('Active profile: '):text(profiles.active):newline() + osd:item('Deck: '):text(config.deck_name):newline() if menu.hints_state.get() == 'global' then osd:submenu('Global bindings'):newline()