mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Update:Update isFile flag on check scan data for library items
This commit is contained in:
parent
a78aa88dbc
commit
354cefb9f4
@ -316,6 +316,12 @@ class LibraryItem {
|
|||||||
hasUpdated = true
|
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) {
|
if (dataFound.ino !== this.ino) {
|
||||||
this.ino = dataFound.ino
|
this.ino = dataFound.ino
|
||||||
hasUpdated = true
|
hasUpdated = true
|
||||||
|
Loading…
Reference in New Issue
Block a user