mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 09:14:40 +02:00
Add: Force re-scan library
This commit is contained in:
parent
f6d43ea60f
commit
b68c181631
3 changed files with 9 additions and 5 deletions
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue