소스 검색

Add Year to the new VideoInfo

Claus Vium 6 년 전
부모
커밋
05ad2e9b3f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Emby.Naming/Video/VideoListResolver.cs

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

@@ -184,6 +184,7 @@ 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()