* add cancellation token support to playout builds and collection enumerators * fix playout bug with shuffle in order * update changelog
16 lines
534 B
C#
16 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
|
|
{
|
|
Tuple<PlayoutBuilderState, List<PlayoutItem>> Schedule(
|
|
PlayoutBuilderState playoutBuilderState,
|
|
Dictionary<CollectionKey, IMediaCollectionEnumerator> collectionEnumerators,
|
|
T scheduleItem,
|
|
ProgramScheduleItem nextScheduleItem,
|
|
DateTimeOffset hardStop,
|
|
CancellationToken cancellationToken);
|
|
}
|