From 88354de495679110103c5f230689e7253a3bb926 Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 13 Apr 2022 07:57:21 -0500 Subject: [PATCH] Fix abmetadata chapter parser --- server/utils/abmetadataGenerator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/abmetadataGenerator.js b/server/utils/abmetadataGenerator.js index fdf3cbef..405d885e 100644 --- a/server/utils/abmetadataGenerator.js +++ b/server/utils/abmetadataGenerator.js @@ -214,7 +214,7 @@ function parseChapterLines(lines) { } }) - if (chapter.start === null || chapter.end === null || chapter.end > chapter.start) { + if (chapter.start === null || chapter.end === null || chapter.end < chapter.start) { Logger.warn(`[abmetadataGenerator] Invalid chapter`) return null }