ass_check_overlaps
Detect overlapping subtitle lines in Aegisub/ASS documents, compare within layers, ignore tiny overlaps, and list conflicting pairs by start time for QC fixes.
Instructions
List overlapping pairs of lines, ordered by start time.
With layer_strict=True (the default) only lines on the same layer are
compared — two lines on different layers are meant to coincide. Comment
lines never render, so they are not considered.
Args: selection: lines to compare. doc_id: document id. layer_strict: compare within each layer only. tolerate_ms: ignore overlaps of this length or less.
Returns:
{"doc_id", "layer_strict", "tolerate_ms", "count", "pairs": [{"a", "b", "layer", "a_start_ms", "a_end_ms", "b_start_ms", "b_end_ms", "overlap_ms"}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| selection | No | ||
| tolerate_ms | No | ||
| layer_strict | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||