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: eecb617695304efd4c4ba7d6284667488c6fff5c
Parent: 9e9f8fa68f523407bfc268e45baaa0ccc5d87ee6
Author: Ren Tatsumoto
Date:   Thu, 13 May 2021 23:41:16 +0300

rearrange config items

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

diff --git a/subs2srs.lua b/subs2srs.lua @@ -57,11 +57,6 @@ local config = { sentence_field = "SentKanji", audio_field = "SentAudio", image_field = "Image", - miscinfo_field = "Notes", -- misc notes and source information field - miscinfo_format = "%n (%t)", -- format string to use for the miscinfo_field, accepts note_tag-style format strings - tag_nuke_brackets = true, -- delete all text inside brackets before subsituting filename into tag - tag_nuke_parentheses = false, -- delete all text inside parentheses before subsituting filename into tag - tag_del_episode_num = false, -- delete the episode number if found append_media = true, -- True to append video media after existing data, false to insert media before -- Note tagging @@ -73,6 +68,13 @@ local config = { -- %d - episode number (if none found, returns nothing) -- %e - SUBS2SRS_TAGS environment variable note_tag = "subs2srs", + tag_nuke_brackets = true, -- delete all text inside brackets before subsituting filename into tag + tag_nuke_parentheses = false, -- delete all text inside parentheses before subsituting filename into tag + tag_del_episode_num = false, -- delete the episode number if found + + -- Misc info + miscinfo_field = "Notes", -- misc notes and source information field + miscinfo_format = "%n (%t)", -- format string to use for the miscinfo_field, accepts note_tag-style format strings -- Forvo support use_forvo = "yes", -- 'yes', 'no', 'always'