Remove unnecessary ToList
This commit is contained in:
parent
a4055779f6
commit
42abb5a993
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user