mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-05 02:34:56 +02:00
Fix abmetadata chapter parser
This commit is contained in:
parent
5b02c5185f
commit
88354de495
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue