ass_reorder_styles
Reorder styles in an ASS subtitle file by specifying the complete list of style names in the new order. Validates the list against existing styles.
Instructions
Reorder the style section.
Args:
order: the complete list of style names in their new order (a
comma-separated string is also accepted). It must be a permutation
of the styles already present — missing, unknown or duplicated names
are reported in the error.
doc_id: document id or None for the current document.
Returns:
{"doc_id", "order", "count"} with the resulting order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||