aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-04-26 18:30:25 +0300
committerGitHub <noreply@github.com>2025-04-26 09:30:25 -0600
commit8ee358de2ca956d22c14f28c3783ba99acd87a32 (patch)
tree8127a03e3ef0b7b2a19a51781ec809ba2ce66216 /Emby.Server.Implementations/Library/LibraryManager.cs
parentdf5671263fc8370ae17b7a5d53f06a86de5cbc93 (diff)
Check for path overlaps (#12832)
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 40045782b..a6eddbbc3 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -768,8 +768,6 @@ namespace Emby.Server.Implementations.Library
{
var rootFolderPath = _configurationManager.ApplicationPaths.RootFolderPath;
- Directory.CreateDirectory(rootFolderPath);
-
var rootFolder = GetItemById(GetNewItemId(rootFolderPath, typeof(AggregateFolder))) as AggregateFolder ??
(ResolvePath(_fileSystem.GetDirectoryInfo(rootFolderPath)) as Folder ?? throw new InvalidOperationException("Something went very wong"))
.DeepCopy<Folder, AggregateFolder>();