keep crossover episodes together (#237)

This commit is contained in:
Jason Dove
2021-05-31 11:58:56 -05:00
committed by GitHub
parent eee10dee22
commit c70f153241
18 changed files with 3198 additions and 53 deletions
+2 -1
View File
@@ -506,7 +506,8 @@ namespace ErsatzTV.Core.Scheduling
return new ShuffledMediaCollectionEnumerator(
mediaItems,
state,
playout.ProgramSchedule.KeepMultiPartEpisodesTogether);
playout.ProgramSchedule.KeepMultiPartEpisodesTogether,
playout.ProgramSchedule.TreatCollectionsAsShows);
default:
// TODO: handle this error case differently?
return new RandomizedMediaCollectionEnumerator(mediaItems, state);