mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 13:51:35 +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,
|
extensions: true,
|
||||||
deep: true,
|
deep: true,
|
||||||
realPath: true,
|
realPath: true,
|
||||||
normalizePath: true
|
normalizePath: true,
|
||||||
|
exclude: ['@eaDir', '#snapshot']
|
||||||
}
|
}
|
||||||
let list = await rra.list(path, options)
|
let list = await rra.list(path, options)
|
||||||
if (list.error) {
|
if (list.error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue