Skip to content

Commit

Permalink
SOF-1620 Set budgetDuration on Segment in Blueprints.
Browse files Browse the repository at this point in the history
  • Loading branch information
temk-tv2 committed Sep 27, 2023
1 parent a9171b4 commit 69bd403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tv2-common/getSegment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ export async function getSegmentBase<ShowStyleConfig extends TV2ShowStyleConfig>
))
) {
blueprintParts[0].part.budgetDuration = totalTimeMs
/*NOTE: Set budgetDuration to Segment to new sofie-server*/
;(segment as any).budgetDuration = totalTimeMs
}

if (blueprintParts.every((part) => part.part.invalid) && iNewsStory.cues.length === 0) {
Expand Down

0 comments on commit 69bd403

Please sign in to comment.