From 638a2142db0c5d67e19a67c583ee7f42fd891909 Mon Sep 17 00:00:00 2001 From: Rob Howell Date: Thu, 2 May 2024 21:30:26 -0400 Subject: [PATCH] Fix collections not being created (#11385) --- MediaBrowser.Controller/Entities/Folder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 45c27fdc02..6f16d14419 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -336,7 +336,7 @@ namespace MediaBrowser.Controller.Entities private static bool IsLibraryFolderAccessible(IDirectoryService directoryService, BaseItem item) { // For top parents i.e. Library folders, skip the validation if it's empty or inaccessible - if (item.IsTopParent && !directoryService.IsAccessible(item.ContainingFolderPath)) + if (!item.IsTopParent && !directoryService.IsAccessible(item.ContainingFolderPath)) { Logger.LogWarning("Library folder {LibraryFolderPath} is inaccessible or empty, skipping", item.ContainingFolderPath); return false;