Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
943 B

using System;
using ErsatzTV.Application.MediaCollections;
using ErsatzTV.Application.MediaItems;
using ErsatzTV.Core.Domain;
namespace ErsatzTV.Application.ProgramSchedules
{
public record ProgramScheduleItemMultipleViewModel : ProgramScheduleItemViewModel
{
public ProgramScheduleItemMultipleViewModel(
int id,
int index,
StartType startType,
TimeSpan? startTime,
ProgramScheduleItemCollectionType collectionType,
MediaCollectionViewModel collection,
NamedMediaItemViewModel mediaItem,
int count,
string customTitle) : base(
id,
index,
startType,
startTime,
PlayoutMode.Multiple,
collectionType,
collection,
mediaItem,
customTitle) =>
Count = count;
public int Count { get; }
}
}