mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 04:14:58 +02:00
Fix:Watcher scanner to ignore non-media files that are not inside library item folders #834
This commit is contained in:
parent
372101592c
commit
9916a1e8f6
2 changed files with 24 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue