feat: include closing in ending chapter range patterns

This commit is contained in:
tomasklaen
2022-09-30 11:04:38 +02:00
parent 0ad72e5f85
commit a9da4cfa2b

View File

@@ -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 = {}