mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 06:59:41 +00:00
Fix scanner isInvalid flag and recursive path symlink bug
This commit is contained in:
parent
ed48fd8558
commit
d8c89f2b8e
6 changed files with 78 additions and 9 deletions
|
|
@ -211,9 +211,10 @@ class LibraryItemScanData {
|
|||
existingLibraryItem.ctime = this.ctimeMs
|
||||
this.hasChanges = true
|
||||
}
|
||||
if (existingLibraryItem.isMissing) {
|
||||
libraryScan.addLog(LogLevel.DEBUG, `Library item "${existingLibraryItem.relPath}" was missing but now found`)
|
||||
if (existingLibraryItem.isMissing || existingLibraryItem.isInvalid) {
|
||||
libraryScan.addLog(LogLevel.DEBUG, `Library item "${existingLibraryItem.relPath}" was missing or invalid but now found`)
|
||||
existingLibraryItem.isMissing = false
|
||||
existingLibraryItem.isInvalid = false
|
||||
this.hasChanges = true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue