Remove unnecessary ToList

This commit is contained in:
Claus Vium 2019-01-27 16:37:12 +01:00
parent a4055779f6
commit 42abb5a993
1 changed files with 1 additions and 1 deletions

View File

@ -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
{