How to use the timeline-state-resolver-types.TimelineContentTypeLawo.SOURCE function in timeline-state-resolver-types

To help you get started, we’ve selected a few timeline-state-resolver-types examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nrkno / tv-automation-server-core / meteor / server / api / playout.ts View on Github external
_.each(timelineObjs, (obj) => {
		if (obj.content.type === TimelineContentTypeLawo.SOURCE) {
			let lawoObj = obj as TimelineObjLawo & TimelineObjGeneric

			_.each(lawoObj.content.attributes, (val, key) => {
				// set triggerValue to the current playing segment, thus triggering commands to be sent when nexting:
				lawoObj.content.attributes[key].triggerValue = currentPartId || ''
			})
		}
	})
}