Fix:Audiobooks incorrectly flagged as single file root audiobooks #714

This commit is contained in:
advplyr 2022-07-03 14:41:07 -05:00
parent 9ac2453676
commit a78aa88dbc

View File

@ -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]) {