From a9daca27a23f3b34b0deb1ec42dab5bd78ed4bd3 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Mon, 4 Nov 2024 11:01:08 +0000 Subject: [PATCH] fix: Unable to clear infinites --- packages/job-worker/src/playout/timeline/rundown.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/job-worker/src/playout/timeline/rundown.ts b/packages/job-worker/src/playout/timeline/rundown.ts index 0e7a107986..941c0a80d9 100644 --- a/packages/job-worker/src/playout/timeline/rundown.ts +++ b/packages/job-worker/src/playout/timeline/rundown.ts @@ -334,6 +334,7 @@ function generateCurrentInfinitePieceObjects( // If the cap is a number, it is relative to the part, not the parent group so needs to be handled here if (typeof pieceInstance.resolvedEndCap === 'number') { infiniteGroup.enable.end = `#${timingContext.currentPartGroup.id}.start + ${pieceInstance.resolvedEndCap}` + delete infiniteGroup.enable.duration delete pieceInstanceWithUpdatedEndCap.resolvedEndCap } } else if (