add rerun collection type (#2421)

* 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
This commit is contained in:
Jason Dove
2025-09-15 18:27:55 +00:00
committed by GitHub
parent fe5dd80f70
commit 245165c9d9
159 changed files with 42569 additions and 789 deletions
@@ -30,17 +30,17 @@ public class FillerPresetEditViewModelValidator : AbstractValidator<FillerPreset
() => RuleFor(fp => fp.UseChaptersAsMediaItems).NotEqual(true));
When(
fp => fp.CollectionType == ProgramScheduleItemCollectionType.Collection,
fp => fp.CollectionType == CollectionType.Collection,
() => RuleFor(fp => fp.Collection).NotNull());
When(
fp => fp.CollectionType == ProgramScheduleItemCollectionType.MultiCollection,
fp => fp.CollectionType == CollectionType.MultiCollection,
() => RuleFor(fp => fp.MultiCollection).NotNull());
When(
fp => fp.CollectionType == ProgramScheduleItemCollectionType.SmartCollection,
fp => fp.CollectionType == CollectionType.SmartCollection,
() => RuleFor(fp => fp.SmartCollection).NotNull());
When(
fp => fp.CollectionType is ProgramScheduleItemCollectionType.Artist or ProgramScheduleItemCollectionType
.TelevisionShow or ProgramScheduleItemCollectionType.TelevisionSeason,
fp => fp.CollectionType is CollectionType.Artist or CollectionType
.TelevisionShow or CollectionType.TelevisionSeason,
() => RuleFor(fp => fp.MediaItem).NotNull());
}