Skip to content

Commit

Permalink
Merge branch 'bbc-release51-3' into fix/autonext-postroll
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC89 committed Sep 26, 2024
1 parent 59c3e1b commit 77f4241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/job-worker/src/playout/timeline/piece.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function getPieceEnableInsidePart(
if (partHasEndTime && partTimings.toPartPostroll) {
if (!pieceEnable.duration) {
// make sure that the control object is shortened correctly
pieceEnable.duration = `#${partGroupId} - ${partTimings.toPartPostroll}`
pieceEnable.end = `#${partGroupId} - ${partTimings.toPartPostroll}`
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/job-worker/src/playout/timeline/rundown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ export function buildTimelineObjsForRundown(
) {
// If there is a valid autonext out of the current part, then calculate the duration
currentPartEnable.duration =
partInstancesInfo.current.partInstance.part.expectedDuration +
partInstancesInfo.current.calculatedTimings.toPartDelay +
partInstancesInfo.current.calculatedTimings.toPartPostroll // autonext should have the postroll added to it to not confuse the timeline
partInstancesInfo.current.calculatedTimings.toPartDelay

Check failure on line 150 in packages/job-worker/src/playout/timeline/rundown.ts

View workflow job for this annotation

GitHub Actions / Lint Package (job-worker)

Delete `↹`

if (
Expand Down

0 comments on commit 77f4241

Please sign in to comment.