mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-17 18:40:59 +02:00
Fix: book id length & check duplicate ids, Change: library to lazy load book cards
This commit is contained in:
@ -118,6 +118,12 @@ class Server {
|
||||
await this.backupManager.init()
|
||||
await this.logManager.init()
|
||||
|
||||
// Only fix duplicate ids once on upgrade
|
||||
if (this.db.previousVersion === '1.0.0') {
|
||||
Logger.info(`[Server] Running scan for duplicate book IDs`)
|
||||
await this.scanner.fixDuplicateIds()
|
||||
}
|
||||
|
||||
this.watcher.initWatcher(this.libraries)
|
||||
this.watcher.on('files', this.filesChanged.bind(this))
|
||||
}
|
||||
|
Reference in New Issue
Block a user