mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-02 13:14:07 +01:00
Fix:Watcher scanner to ignore non-media files that are not inside library item folders #834
This commit is contained in:
1 parent
372101592c
commit
9916a1e8f6
2 files changed
+24
-1
No files matched your search
@@ -512,6 +512,7 @@ class Scanner {
|
||||
}
|
||||
var relFilePaths = folderGroups[folderId].fileUpdates.map(fileUpdate => fileUpdate.relPath)
|
||||
var fileUpdateGroup = groupFilesIntoLibraryItemPaths(library.mediaType, relFilePaths)
|
||||
|
||||
if (!Object.keys(fileUpdateGroup).length) {
|
||||
Logger.info(`[Scanner] No important changes to scan for in folder "${folderId}"`)
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user