aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.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/Library/LibraryManager.cs
parent501c7a639fd0c799edbc583fa7afe0fdc876b7e2 (diff)
parent645825db36f2de9771aa5d0ebcdab25855d18b5d (diff)
Merge pull request #6473 from Bond-009/nullable7
Enable nullable for more files
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 13fb8b2fd..0cde8101c 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -3173,10 +3173,7 @@ namespace Emby.Server.Implementations.Library
{
if (!list.Any(i => string.Equals(i.Path, location, StringComparison.Ordinal)))
{
- list.Add(new MediaPathInfo
- {
- Path = location
- });
+ list.Add(new MediaPathInfo(location));
}
}