MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toMedia

Function toMedia

e2e/scripts/film.ts:77–78  ·  view source on GitHub ↗
(window: Act["source"], wallMs: number)

Source from the content-addressed store, hash-verified

75
76 const browserEnd = probeSeconds(browserPath);
77 const toMedia = (window: Act["source"], wallMs: number) =>
78 Math.max(0, (wallMs - (window === "terminal" ? terminalAnchor : browserAnchor)) / 1000);
79
80 const acts: Act[] = [];
81 for (let i = 0; i < timeline.focus.length; i += 1) {

Callers 1

actsFromTimelineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected