mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-07 19:22:43 +02:00
Fix scanner after deleting single file books #4459
This commit is contained in:
@@ -606,6 +606,11 @@ class LibraryScanner {
|
||||
} else if (library.settings.audiobooksOnly && !hasAudioFiles(fileUpdateGroup, itemDir)) {
|
||||
Logger.debug(`[LibraryScanner] Folder update for relative path "${itemDir}" has no audio files`)
|
||||
continue
|
||||
} else if (!(await fs.pathExists(fullPath))) {
|
||||
Logger.info(`[LibraryScanner] File update group "${itemDir}" does not exist - ignoring`)
|
||||
|
||||
itemGroupingResults[itemDir] = ScanResult.NOTHING
|
||||
continue
|
||||
}
|
||||
|
||||
// Check if a library item is a subdirectory of this dir
|
||||
|
||||
Reference in New Issue
Block a user