ass_merge_lines
Merge selected ASS subtitle lines into the earliest-starting line, join their texts with a separator, and remove the originals to simplify timing edits.
Instructions
Merge the selected lines into the earliest one.
The selected lines are sorted by start (then end) time and their raw texts
are joined with separator (default the literal \N) into the
earliest-starting line, which keeps its style, actor, effect, layer and
margins; its span becomes the union of the merged spans. The other
selected lines are removed. Needs at least two lines.
Returns {"doc_id", "index": <0-based index of the merged line *after* the merge>, "removed": [<pre-merge 0-based indices of the lines folded away>], "removed_count", "start_ms", "end_ms", "text", "line": <dict>}.
Snapshot-backed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| selection | Yes | ||
| separator | No | \N |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||