Mid-roll break logic in schedule engine #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#2
What to build
Wire the MidRollRule (already modeled on ProgrammingBlock) into the schedule engine. When a program item is longer than the configured break interval, split it into segments with interstitial slots at break points.
Break point selection: if the MediaItem has chapters and
prefer_chaptersis true, use chapter boundaries as break points. Otherwise, use thefallback_interval_minsto break at fixed intervals. Fill break slots with interstitials from the library matching the rule'spool_filter, up tobreak_duration_secstotal.The split program segments should appear as separate ScheduledSlots with adjusted start/end times. Each break slot contains interstitial content. The Playout Service will later inject SCTE-35 markers at these boundaries.
Acceptance criteria
Blocked by