diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-08-28 17:32:09 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-08-28 17:32:09 +0200 |
| commit | 645825db36f2de9771aa5d0ebcdab25855d18b5d (patch) | |
| tree | 72526fa08230b26951c453638c1c2d2e4afcedca /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | e88367fe70f8d5f2a0cec35792739fe23000a818 (diff) | |
Enable nullable for more files
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 5 |
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)); } } |
