mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-30 15:55:26 +02:00
Fix: book id length & check duplicate ids, Change: library to lazy load book cards
This commit is contained in:
parent
ca6f2c01f6
commit
72f9732b67
18 changed files with 466 additions and 86 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue