17 lines
534 B
C#
17 lines
534 B
C#
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.Scheduling;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Scheduling;
|
|
|
|
public interface IPlayoutModeScheduler<in T> where T : ProgramScheduleItem
|
|
{
|
|
PlayoutSchedulerResult Schedule(
|
|
PlayoutBuilderState playoutBuilderState,
|
|
Dictionary<CollectionKey, IMediaCollectionEnumerator> collectionEnumerators,
|
|
T scheduleItem,
|
|
ProgramScheduleItem nextScheduleItem,
|
|
DateTimeOffset hardStop,
|
|
Random random,
|
|
CancellationToken cancellationToken);
|
|
}
|