diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2022-01-28 12:21:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-28 12:21:40 +0100 |
| commit | 488ce510321ebcec36bccc45398feffe725cb5f0 (patch) | |
| tree | 9a7a52acf8169a7406cd41b166066198cfd19124 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 42724ef4118ca8225da537db0c087d6ae86dbae1 (diff) | |
Remove some allocations (#7246)
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 262d9fed7..c4ff33c1b 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -2686,7 +2686,7 @@ namespace Emby.Server.Implementations.Library }; } - public IEnumerable<BaseItem> FindExtras(BaseItem owner, List<FileSystemMetadata> fileSystemChildren, IDirectoryService directoryService) + public IEnumerable<BaseItem> FindExtras(BaseItem owner, IReadOnlyList<FileSystemMetadata> fileSystemChildren, IDirectoryService directoryService) { var ownerVideoInfo = VideoResolver.Resolve(owner.Path, owner.IsFolder, _namingOptions); if (ownerVideoInfo == null) |
