ripple_delete_gap
Close an empty gap on a track by shifting every layer after it left, shortening the film without deleting media. Supply the gap's start and end times to remove it.
Instructions
Close a GAP — an empty span on one track between two layer boundaries — so everything after it moves left and the film gets shorter; nothing is deleted. [start_us, end_us) must be the whole gap as it is now: end_us exactly where a layer on track_id starts, start_us exactly where one ends (or 0 before the first clip); the space after the last clip is not a gap. Otherwise GapNotFound carries the span you sent — re-read project://tracks and retry. The closing is delete_layers { ripple: true }'s: every layer starting at or after end_us on every track shifts left, anchored markers follow, free markers and the playhead stay. Refuses whole with the same names — RippleInsideHole (a layer on another track starts inside the gap: delete it first), RippleCollision, RippleLinkStraddles, RippleLockedLayer / TrackLocked (a gap on a locked lane always refuses). One recorded edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_us | Yes | Gap end (exclusive), timeline, µs. | |
| start_us | Yes | Gap start, timeline, µs. | |
| track_id | Yes | The track the gap is on. |