Revert "Add Year to the new VideoInfo"

This reverts commit 05ad2e9b3f.
This commit is contained in:
Claus Vium 2019-02-19 17:39:10 +01:00
parent 5181427234
commit de5c0bab70

View File

@ -184,7 +184,6 @@ namespace Emby.Naming.Video
return ordered.GroupBy(v => new {v.Name, v.Year}).Select(group => new VideoInfo
{
Name = folderName,
Year = group.First().Year,
Files = group.First().Files,
AlternateVersions = group.Skip(1).Select(i => i.Files[0]).ToList(),
Extras = group.First().Extras.Concat(group.Skip(1).SelectMany(i => i.Extras)).ToList()