mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-05 04:21:48 +02:00
Add: Force re-scan library
This commit is contained in:
+2
-2
@@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user