Update:Update isFile flag on check scan data for library items

This commit is contained in:
advplyr committed 2022-07-03 15:04:41 -05:00
1 parent a78aa88dbc
commit 354cefb9f4
1 file changed
+6
+6
View File
@@ -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