mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-27 10:52:47 +01:00
This commit is contained in:
1 parent
f752c19418
commit
e80ec10e8a
32 files changed
+954
-74
No files matched your search
@@ -65,7 +65,7 @@ class StreamManager {
|
||||
if (!dirs || !dirs.length) return true
|
||||
|
||||
await Promise.all(dirs.map(async (dirname) => {
|
||||
if (dirname !== 'streams' && dirname !== 'books' && dirname !== 'downloads') {
|
||||
if (dirname !== 'streams' && dirname !== 'books' && dirname !== 'downloads' && dirname !== 'backups') {
|
||||
var fullPath = Path.join(this.MetadataPath, dirname)
|
||||
Logger.warn(`Removing OLD Orphan Stream ${dirname}`)
|
||||
return fs.remove(fullPath)
|
||||
|
||||
Reference in new issue
Block a user