aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Collections/CollectionManager.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-09-01 09:28:19 +0200
committerGitHub <noreply@github.com>2021-09-01 09:28:19 +0200
commit4cd372109dbc740e7e97719b44dec114524e54b5 (patch)
tree1b6307b17f9536bf7468232c788fdb5704907743 /Emby.Server.Implementations/Collections/CollectionManager.cs
parent501c7a639fd0c799edbc583fa7afe0fdc876b7e2 (diff)
parent645825db36f2de9771aa5d0ebcdab25855d18b5d (diff)
Merge pull request #6473 from Bond-009/nullable7
Enable nullable for more files
Diffstat (limited to 'Emby.Server.Implementations/Collections/CollectionManager.cs')
-rw-r--r--Emby.Server.Implementations/Collections/CollectionManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Collections/CollectionManager.cs b/Emby.Server.Implementations/Collections/CollectionManager.cs
index 8270c2e84..b00a51922 100644
--- a/Emby.Server.Implementations/Collections/CollectionManager.cs
+++ b/Emby.Server.Implementations/Collections/CollectionManager.cs
@@ -95,7 +95,7 @@ namespace Emby.Server.Implementations.Collections
var libraryOptions = new LibraryOptions
{
- PathInfos = new[] { new MediaPathInfo { Path = path } },
+ PathInfos = new[] { new MediaPathInfo(path) },
EnableRealtimeMonitor = false,
SaveLocalMetadata = true
};