Clean up some ToList usage

This commit is contained in:
jgriff6
2022-10-25 01:40:47 +01:00
parent 5cd37686ac
commit 08e71010ae
3 changed files with 8 additions and 3 deletions

View File

@@ -101,7 +101,8 @@ namespace Emby.Naming.AudioBook
{
var extra = ex
.OrderBy(x => x.Container)
.ThenBy(x => x.Path);
.ThenBy(x => x.Path)
.ToList();
stackFiles = stackFiles.Except(extra).ToList();
extras.AddRange(extra);