ass_list_styles
Lists every style in an ASS/Aegisub subtitle document, including optional usage counts and rendered bounding boxes, so you can inspect or verify styles.
Instructions
List every style in the document.
Args:
doc_id: document id or None for the current document.
include_usage: add used (bool) and usage
({total, dialogue, comment}) to each style, counted over all
event lines (comments included).
include_bbox: render the sample text :data:BBOX_SAMPLE in each style
with libass and add bbox — the ink box in script coordinates
({x, y, x1, y1, width, height}) — plus bbox_error when the
measurement could not be produced (for example no ffmpeg/libass).
Returns:
{"doc_id", "count", "styles": [ ... ]} where each style dict holds
every ASS field exactly as stored (Name, Fontname,
Fontsize ... Encoding, colours verbatim), plus index,
section (its [V4+ Styles]/[V4 Styles] header) and
extra_fields (vendor columns not in the ASS vocabulary).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| include_bbox | No | ||
| include_usage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||