mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-24 12:54:31 +02:00
Update scanner v3, add isActive support for users
This commit is contained in:
parent
ddbf678a8b
commit
4e92ea3992
13 changed files with 230 additions and 160 deletions
|
@ -59,7 +59,7 @@ module.exports.comparePaths = (path1, path2) => {
|
|||
|
||||
module.exports.getIno = (path) => {
|
||||
return fs.promises.stat(path, { bigint: true }).then((data => String(data.ino))).catch((err) => {
|
||||
Logger.error('[Utils] Failed to get ino for path', path, error)
|
||||
Logger.error('[Utils] Failed to get ino for path', path, err)
|
||||
return null
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue