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: aafcc2859e3a8f2f3d1fe9844c0104a4713db3bc
Parent: e66fbd4c8880ef0dc5edfc408197e6926b2f477c
Author: Ren Tatsumoto
Date:   Fri, 14 May 2021 00:05:06 +0300

uniform name

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

diff --git a/subs2srs.lua b/subs2srs.lua @@ -354,7 +354,7 @@ local function substitute_fmt(tag) return _tag:gsub("%%n", filename) end - local function episode_number(_tag) + local function substitute_episode_number(_tag) return _tag:gsub("%%d", episode) end @@ -369,7 +369,7 @@ local function substitute_fmt(tag) end tag = substitute_filename(tag) - tag = episode_number(tag) + tag = substitute_episode_number(tag) tag = substitute_time_pos(tag) tag = substitute_envvar(tag) tag = remove_leading_trailing_spaces(tag)