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
@@ -23,6 +23,7 @@ public class GetProgramScheduleItemsHandler(IDbContextFactory<TvContext> dbConte
.Include(i => i.Collection)
.Include(i => i.MultiCollection)
.Include(i => i.SmartCollection)
.Include(i => i.RerunCollection)
.Include(i => i.Playlist)
.Include(i => i.MediaItem)
.ThenInclude(i => (i as Movie).MovieMetadata)
@@ -74,6 +75,12 @@ public class GetProgramScheduleItemsHandler(IDbContextFactory<TvContext> dbConte
{
item = item with { FillWithGroupMode = FillWithGroupMode.None };
}
if (item.CollectionType is CollectionType.Playlist or CollectionType.RerunFirstRun
or CollectionType.RerunRerun)
{
item = item with { PlaybackOrder = PlaybackOrder.None };
}
}
return item;