ass_duplicate_lines
Duplicate selected ASS subtitle lines with optional time offset and before/after insertion, preserving all fields, to create repeated or shifted events.
Instructions
Duplicate the selected lines.
Args:
selection: selection spelling; None = all lines.
offset_ms: shift the copies in time by this many ms.
insert_after: put each copy right after (True) or right before
(False) its source.
Copies keep every field of the source (style, actor, effect, layer, margins,
comment flag, tags). Returns {"doc_id", "indices": [<0-based index of each copy>], "count", "lines": [...]}. Snapshot-backed. Indices are
0-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| offset_ms | No | ||
| selection | Yes | ||
| insert_after | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||