Add: Force re-scan library

This commit is contained in:
Igor Kaldowski 2021-12-04 23:57:47 +00:00
parent f6d43ea60f
commit b68c181631
3 changed files with 9 additions and 5 deletions

View file

@ -316,9 +316,9 @@ class Server {
await this.scanner2.scanFilesChanged(fileUpdates)
}
async scan(libraryId) {
async scan(libraryId, options = {}) {
Logger.info('[Server] Starting Scan')
await this.scanner2.scan(libraryId)
await this.scanner2.scan(libraryId, options)
// await this.scanner.scan(libraryId)
Logger.info('[Server] Scan complete')
}