From 42abb5a9931806a2ae1cedd433144ebf82768a0d Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Sun, 27 Jan 2019 16:37:12 +0100 Subject: [PATCH] Remove unnecessary ToList --- Emby.Naming/Video/VideoListResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emby.Naming/Video/VideoListResolver.cs b/Emby.Naming/Video/VideoListResolver.cs index 156739c0a..db8ebb56a 100644 --- a/Emby.Naming/Video/VideoListResolver.cs +++ b/Emby.Naming/Video/VideoListResolver.cs @@ -179,7 +179,7 @@ namespace Emby.Naming.Video if (!string.IsNullOrEmpty(folderName) && folderName.Length > 1) { - var ordered = videos.OrderBy(i => i.Name).ToList(); + var ordered = videos.OrderBy(i => i.Name); return ordered.GroupBy(v => new {v.Name, v.Year}).Select(group => new VideoInfo {