* rename collection type * split collections into separate pages * add rerun collection types, migration, editor * add rerun to classic schedule items * rerun plumbing in classic playout builder * start to implement rerun enumerator * add scheduledAt to enumerator movenext * maintain rerun history in db * fix shuffle * fix rerun allowed playback orders * fix updating rerun collections * update changelog; fix editing * update changelog
15 lines
445 B
C#
15 lines
445 B
C#
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Scheduling;
|
|
|
|
public interface IMediaCollectionEnumerator
|
|
{
|
|
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);
|
|
}
|