mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 12:44:06 +01:00
Add new podcast scanner and remove old scanner
This commit is contained in:
1 parent
42ff3d8314
commit
b9da3fa30e
16 files changed
+952
-898
No files matched your search
@@ -978,12 +978,8 @@ class LibraryController {
|
||||
forceRescan: req.query.force == 1
|
||||
}
|
||||
res.sendStatus(200)
|
||||
if (req.library.mediaType === 'podcast') {
|
||||
// TODO: New library scanner for podcasts
|
||||
await this.scanner.scan(req.library, options)
|
||||
} else {
|
||||
await LibraryScanner.scan(req.library, options)
|
||||
}
|
||||
|
||||
await LibraryScanner.scan(req.library, options)
|
||||
|
||||
await Database.resetLibraryIssuesFilterData(req.library.id)
|
||||
Logger.info('[LibraryController] Scan complete')
|
||||
|
||||
Reference in new issue
Block a user