mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Fix:Audiobooks incorrectly flagged as single file root audiobooks #714
This commit is contained in:
parent
9ac2453676
commit
a78aa88dbc
@ -163,9 +163,9 @@ async function scanFolder(libraryMediaType, folder, serverSettings = {}) {
|
|||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
|
|
||||||
var isFile = false // item is not in a folder
|
|
||||||
var items = []
|
var items = []
|
||||||
for (const libraryItemPath in libraryItemGrouping) {
|
for (const libraryItemPath in libraryItemGrouping) {
|
||||||
|
var isFile = false // item is not in a folder
|
||||||
var libraryItemData = null
|
var libraryItemData = null
|
||||||
var fileObjs = []
|
var fileObjs = []
|
||||||
if (libraryItemPath === libraryItemGrouping[libraryItemPath]) {
|
if (libraryItemPath === libraryItemGrouping[libraryItemPath]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user