Browse Source

Revert "Add Year to the new VideoInfo"

This reverts commit 05ad2e9b3f5209d9e7ff9949d8c20cd8ef7062b6.
Claus Vium 6 years ago
parent
commit
de5c0bab70
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Emby.Naming/Video/VideoListResolver.cs

+ 0 - 1
Emby.Naming/Video/VideoListResolver.cs

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