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: 81e21680c71ea4b94ebe41676facd6a547b5d596
Parent: 26264bbce6be2e061e42529224e762aae05cbb76
Author: Ren Tatsumoto
Date:   Tue,  8 Sep 2020 05:53:10 +0300

turned to be a bad idea

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

diff --git a/subs2srs.lua b/subs2srs.lua @@ -150,7 +150,7 @@ local function copy_to_clipboard(_, text) end local function copy_sub_to_clipboard() - copy_to_clipboard('copy-on-demand', mp.get_property_string('sub-text')) + copy_to_clipboard("copy-on-demand", mp.get_property("sub-text")) end local function contains_non_latin_letters(str) @@ -552,7 +552,7 @@ subs.list = {} subs.user_timings = get_empty_timings() subs.get_current = function() - local sub_text = mp.get_property_string("sub-text") + local sub_text = mp.get_property("sub-text") if is_emptystring(sub_text) then return nil