Commit: 551a40dd5bd76c5456a54abd1da528e3329486c3
Parent: eecb617695304efd4c4ba7d6284667488c6fff5c
Author: Ren Tatsumoto
Date: Thu, 13 May 2021 23:56:33 +0300
should be local
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -249,7 +249,7 @@ local function cut_episode_number(filename)
-- Reverses the filename to start the search from the end as the media title might contain similar numbers.
local tmp_name = filename:reverse()
- ep_num_patterns = {
+ local ep_num_patterns = {
"%s?(%d?%d?%d)[pP]?[eE]", -- Starting with E or EP (case-insensitive). "Example Series S01E01"
"%)(%d?%d?%d)%(", -- Surrounded by parentheses. "Example Series (12)"
"%](%d?%d?%d)%[", -- Surrounded by brackets. "Example Series [01]"