ass_rename_style
Rename an ASS subtitle style and automatically update all event lines that use the old name, keeping references consistent. Optionally leave lines unchanged by setting update_lines to false.
Instructions
Rename a style and (by default) rewrite the lines that reference it.
Args:
old_name: existing style name.
new_name: new name; must not collide with another style.
doc_id: document id or None for the current document.
update_lines: when true, every line whose Style field equals
old_name is rewritten to new_name.
Returns:
{"doc_id", "old_name", "new_name", "lines_updated", "style"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| new_name | Yes | ||
| old_name | Yes | ||
| update_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||