diff --git a/server/objects/LibraryItem.js b/server/objects/LibraryItem.js index 7e371ac9..7390dbfa 100644 --- a/server/objects/LibraryItem.js +++ b/server/objects/LibraryItem.js @@ -316,6 +316,12 @@ class LibraryItem { hasUpdated = true } + if (dataFound.isFile !== this.isFile && dataFound.isFile !== undefined) { + Logger.info(`[LibraryItem] Check scan item isFile toggled from ${this.isFile} => ${dataFound.isFile}`) + this.isFile = dataFound.isFile + hasUpdated = true + } + if (dataFound.ino !== this.ino) { this.ino = dataFound.ino hasUpdated = true