Fix:Watcher & scanner on folder renames to check inode value and update existing library item paths

This commit is contained in:
advplyr 2022-05-11 18:18:54 -05:00
parent 639c930779
commit 474a7d08d0
2 changed files with 11 additions and 1 deletions

View file

@ -140,7 +140,6 @@ class FolderWatcher extends EventEmitter {
return
}
Logger.debug(`[Watcher] Rename ${pathFrom} => ${pathTo}`)
this.addFileUpdate(libraryId, pathFrom, 'renamed')
this.addFileUpdate(libraryId, pathTo, 'renamed')
}