mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-27 19:29:23 +02:00
Remove force re-scan and old scanner logic
This commit is contained in:
parent
b9da3fa30e
commit
b1c07834be
14 changed files with 146 additions and 689 deletions
|
@ -974,12 +974,9 @@ class LibraryController {
|
|||
Logger.error(`[LibraryController] Non-root user attempted to scan library`, req.user)
|
||||
return res.sendStatus(403)
|
||||
}
|
||||
const options = {
|
||||
forceRescan: req.query.force == 1
|
||||
}
|
||||
res.sendStatus(200)
|
||||
|
||||
await LibraryScanner.scan(req.library, options)
|
||||
await LibraryScanner.scan(req.library)
|
||||
|
||||
await Database.resetLibraryIssuesFilterData(req.library.id)
|
||||
Logger.info('[LibraryController] Scan complete')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue