mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Fix:Match all books only matching first 100 #2096
This commit is contained in:
parent
c4fd4ff9de
commit
60c65008dc
@ -359,7 +359,7 @@ class Scanner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
offset += limit
|
offset += limit
|
||||||
hasMoreChunks = libraryItems.length < limit
|
hasMoreChunks = libraryItems.length === limit
|
||||||
let oldLibraryItems = libraryItems.map(li => Database.libraryItemModel.getOldLibraryItem(li))
|
let oldLibraryItems = libraryItems.map(li => Database.libraryItemModel.getOldLibraryItem(li))
|
||||||
|
|
||||||
const shouldContinue = await this.matchLibraryItemsChunk(library, oldLibraryItems, libraryScan)
|
const shouldContinue = await this.matchLibraryItemsChunk(library, oldLibraryItems, libraryScan)
|
||||||
|
Loading…
Reference in New Issue
Block a user