mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-18 03:48:55 +01:00
Fix abmetadata chapter parser
This commit is contained in:
parent
5b02c5185f
commit
88354de495
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user