aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Collections
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-08-28 17:32:09 +0200
committerBond_009 <bond.009@outlook.com>2021-08-28 17:32:09 +0200
commit645825db36f2de9771aa5d0ebcdab25855d18b5d (patch)
tree72526fa08230b26951c453638c1c2d2e4afcedca /Emby.Server.Implementations/Collections
parente88367fe70f8d5f2a0cec35792739fe23000a818 (diff)
Enable nullable for more files
Diffstat (limited to 'Emby.Server.Implementations/Collections')
-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
};