Update:Add inode value to log #1447

This commit is contained in:
advplyr 2023-02-11 15:39:34 -06:00
parent 895ab8d18a
commit dcfbed5f30

View File

@ -581,7 +581,7 @@ class Scanner {
if (!existingLibraryItem) { if (!existingLibraryItem) {
existingLibraryItem = this.db.libraryItems.find(li => li.ino === dirIno) existingLibraryItem = this.db.libraryItems.find(li => li.ino === dirIno)
if (existingLibraryItem) { if (existingLibraryItem) {
Logger.debug(`[Scanner] scanFolderUpdates: Library item found by inode value "${existingLibraryItem.relPath} => ${itemDir}"`) Logger.debug(`[Scanner] scanFolderUpdates: Library item found by inode value=${dirIno}. "${existingLibraryItem.relPath} => ${itemDir}"`)
// Update library item paths for scan and all library item paths will get updated in LibraryItem.checkScanData // Update library item paths for scan and all library item paths will get updated in LibraryItem.checkScanData
existingLibraryItem.path = fullPath existingLibraryItem.path = fullPath
existingLibraryItem.relPath = itemDir existingLibraryItem.relPath = itemDir