From 488ce510321ebcec36bccc45398feffe725cb5f0 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Fri, 28 Jan 2022 12:21:40 +0100 Subject: Remove some allocations (#7246) --- Emby.Server.Implementations/Library/LibraryManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Emby.Server.Implementations/Library') 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 FindExtras(BaseItem owner, List fileSystemChildren, IDirectoryService directoryService) + public IEnumerable FindExtras(BaseItem owner, IReadOnlyList fileSystemChildren, IDirectoryService directoryService) { var ownerVideoInfo = VideoResolver.Resolve(owner.Path, owner.IsFolder, _namingOptions); if (ownerVideoInfo == null) -- cgit v1.2.3