* add scheduling context to playout details table * fix missing context copies
16 lines
487 B
C#
16 lines
487 B
C#
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Scheduling;
|
|
|
|
public interface IMediaCollectionEnumerator
|
|
{
|
|
string SchedulingContextName { get; }
|
|
CollectionEnumeratorState State { get; }
|
|
Option<MediaItem> Current { get; }
|
|
Option<bool> CurrentIncludeInProgramGuide { get; }
|
|
int Count { get; }
|
|
Option<TimeSpan> MinimumDuration { get; }
|
|
void ResetState(CollectionEnumeratorState state);
|
|
void MoveNext(Option<DateTimeOffset> scheduledAt);
|
|
}
|