Files
ersatztv/ErsatzTV.Core/Scheduling/PlayoutBuilderState.cs
T
Jason DoveandGitHub c7fcaf8886 refactor playout building (#2273)
* refactor playout building

* remove playout items
2025-08-07 15:20:26 +00:00

18 lines
511 B
C#

using ErsatzTV.Core.Interfaces.Scheduling;
namespace ErsatzTV.Core.Scheduling;
public record PlayoutBuilderState(
int PlayoutId,
IScheduleItemsEnumerator ScheduleItemsEnumerator,
Option<int> MultipleRemaining,
Option<DateTimeOffset> DurationFinish,
bool InFlood,
bool InDurationFiller,
int NextGuideGroup,
DateTimeOffset CurrentTime)
{
public int IncrementGuideGroup => (NextGuideGroup + 1) % 10000;
public int DecrementGuideGroup => (NextGuideGroup - 1) % 10000;
}