ass_get_script_info
Read the [Script Info] section in file order to inspect key-value pairs, preserve raw spacing, and detect duplicate keys in ASS subtitle documents.
Instructions
Read [Script Info] in file order.
Returns:
{"doc_id", "count", "items", "ordered", "values", "duplicates"}.
items is one {"index", "key", "value", "raw", "duplicate"} per
key line, in the order they appear in the file (raw is the line
exactly as stored, so odd spacing such as Title : x survives);
ordered is [[key, value], ...]; values the last-wins map;
duplicates lists keys that appear more than once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||