mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
#712 - group multiple versions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user