Update new library scanner to check for cover images and ebooks

This commit is contained in:
advplyr 2023-08-28 17:50:21 -05:00
parent 2c8448d147
commit f8f94f2a6d
4 changed files with 114 additions and 6 deletions

View file

@ -13,6 +13,7 @@ class LibraryScan {
constructor() {
this.id = null
this.type = null
/** @type {import('../objects/Library')} */
this.library = null
this.verbose = false
@ -117,7 +118,7 @@ class LibraryScan {
}
if (this.verbose) {
Logger.debug(`[LibraryScan] "${this.libraryName}":`, args)
Logger.debug(`[LibraryScan] "${this.libraryName}":`, ...args)
}
this.logs.push(logObj)
}