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: 148f103b45760b260d08efcbf1e83f2f1be8c439
Parent: 61484344d511c2413691e40122934dcc50d813c9
Author: Ren Tatsumoto
Date:   Fri, 14 May 2021 00:29:32 +0300

more sane defaults

Diffstat:
M.github/RELEASE/subs2srs.conf | 4++--
Msubs2srs.lua | 6+++---
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/RELEASE/subs2srs.conf b/.github/RELEASE/subs2srs.conf @@ -16,7 +16,7 @@ miscinfo_field=Notes # Format string used to fill the miscinfo_field. It supports the same # substitutions as note_tag. HTML is supported. -miscinfo_format=%n (%t) +miscinfo_format=%n EP%d (%t) #miscinfo_format=From <b>mpvacious</b> %n at %t. # The tag(s) added to new notes. Spaces separate multiple tags. @@ -66,7 +66,7 @@ tag_nuke_brackets=yes tag_nuke_parentheses=no # Remove the episode number before substituting %n into tag -tag_del_episode_num=no +tag_del_episode_num=yes ################## # Image settings # diff --git a/subs2srs.lua b/subs2srs.lua @@ -67,14 +67,14 @@ local config = { -- %t - timestamp -- %d - episode number (if none found, returns nothing) -- %e - SUBS2SRS_TAGS environment variable - note_tag = "subs2srs", + note_tag = "subs2srs %n", 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 + tag_del_episode_num = true, -- 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 + miscinfo_format = "%n EP%d (%t)", -- format string to use for the miscinfo_field, accepts note_tag-style format strings -- Forvo support use_forvo = "yes", -- 'yes', 'no', 'always'