mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 22:01:37 +00:00
Exclude @eaDir and #snapshot from recursive library searching
This commit is contained in:
parent
90f4833c9e
commit
5195b33da5
1 changed files with 3 additions and 2 deletions
|
|
@ -167,7 +167,8 @@ async function recurseFiles(path, relPathToReplace = null) {
|
|||
extensions: true,
|
||||
deep: true,
|
||||
realPath: true,
|
||||
normalizePath: true
|
||||
normalizePath: true,
|
||||
exclude: ['@eaDir', '#snapshot']
|
||||
}
|
||||
let list = await rra.list(path, options)
|
||||
if (list.error) {
|
||||
|
|
@ -440,4 +441,4 @@ module.exports.getDirectoriesInPath = async (dirPath, level) => {
|
|||
Logger.error('Failed to readdir', dirPath, error)
|
||||
return []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue