You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is due to this line in libraryScanner.js:
} else if (library.settings.audiobooksOnly && !fileUpdateGroup[itemDir].some?.(scanUtils.checkFilepathIsAudioFile)) {
For single items added to the root folder, fileUpdateGroup[itemDir] is not an array, and does not have a some method, so this condition evaluates to true (this issue is a side effect of this commit)
Describe the issue
When adding a single audio file to the library's root folder, watcher detects the change but fails to add the book.
Relevant log lines:
Note that this line is unexpected:
Steps to reproduce the issue
Expected: New book is added to library.
Actual: New book not added to library.
Audiobookshelf version
v2.5.0
How are you running audiobookshelf?
Docker
The text was updated successfully, but these errors were encountered: