#712 - group multiple versions

This commit is contained in:
Luke Pulverenti
2014-03-18 21:35:40 -04:00
parent 4d1d2bbaa1
commit fbfcfdcf07
9 changed files with 109 additions and 89 deletions

View File

@@ -1084,11 +1084,6 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.PartCount = video.AdditionalPartIds.Count + 1;
dto.AlternateVersionCount = video.AlternateVersionCount;
if (video.PrimaryVersionId.HasValue)
{
dto.PrimaryVersionId = video.PrimaryVersionId.Value.ToString("N");
}
if (fields.Contains(ItemFields.Chapters))
{
dto.Chapters = _itemRepo.GetChapters(video.Id).Select(c => GetChapterInfoDto(c, item)).ToList();