aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authortheguymadmax <theguymadmax@proton.me>2025-10-08 10:32:00 -0400
committerGitHub <noreply@github.com>2025-10-08 08:32:00 -0600
commit79ff0b0b002c27142769de4a37fcb555b1474888 (patch)
treed5c658b41abb77037eb53a7d3f468eecae9dc651 /Emby.Server.Implementations
parent2b45a984dd12edb54ab04ece96679ea2521b671e (diff)
Fix collections folder duplication (#14925)
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Collections/CollectionManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Collections/CollectionManager.cs b/Emby.Server.Implementations/Collections/CollectionManager.cs
index 0eb387ffd..a320a774c 100644
--- a/Emby.Server.Implementations/Collections/CollectionManager.cs
+++ b/Emby.Server.Implementations/Collections/CollectionManager.cs
@@ -104,6 +104,8 @@ namespace Emby.Server.Implementations.Collections
await _libraryManager.AddVirtualFolder(name, CollectionTypeOptions.boxsets, libraryOptions, true).ConfigureAwait(false);
+ _libraryManager.RootFolder.Children = null;
+
return FindFolders(path).First();
}