From a9da4cfa2b6feff21a64716febd7168ce4513e5f Mon Sep 17 00:00:00 2001 From: tomasklaen Date: Fri, 30 Sep 2022 11:04:38 +0200 Subject: [PATCH] feat: include `closing` in ending chapter range patterns --- scripts/uosc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uosc.lua b/scripts/uosc.lua index 0e2a241..6546296 100644 --- a/scripts/uosc.lua +++ b/scripts/uosc.lua @@ -861,7 +861,7 @@ function serialize_chapter_ranges(normalized_chapters) local simple_ranges = { {name = 'openings', patterns = {'^op ', '^op$', ' op$', 'opening$'}, requires_next_chapter = true}, {name = 'intros', patterns = {'^intro$'}, requires_next_chapter = true}, - {name = 'endings', patterns = {'^ed ', '^ed$', ' ed$', 'ending$'}}, + {name = 'endings', patterns = {'^ed ', '^ed$', ' ed$', 'ending$', 'closing$'}}, {name = 'outros', patterns = {'^outro$'}}, } local sponsor_ranges = {}