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: a4de2a98dfee5f57b0e7551b1a41a6f3e40f1811
Parent: 6f3ff61b483f3b0663d550d752a293587c258517
Author: Ren Tatsumoto
Date:   Thu, 12 Nov 2020 15:26:46 +0300

add a switch for clipboard trim

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

diff --git a/README.md b/README.md @@ -172,6 +172,10 @@ nuke_spaces=yes # depends on the volume of the player at the time of export tie_volumes=no +# Remove text in parentheses that may interfere with Yomichan +# before copying subtitles to the clipboard +clipboard_trim_enabled=yes + # Images snapshot_format=webp #snapshot_format=jpg diff --git a/subs2srs.lua b/subs2srs.lua @@ -40,6 +40,7 @@ local config = { anki_user = "User 1", -- your anki username. it is displayed on the title bar of the Anki window. autoclip = false, -- copy subs to the clipboard or not nuke_spaces = true, -- remove all spaces or not + clipboard_trim_enabled = true, -- remove unnecessary characters from strings before copying to the clipboard snapshot_format = "webp", -- webp or jpg snapshot_quality = 5, -- from 0=lowest to 100=highest snapshot_width = -2, -- a positive integer or -2 for auto