assign_role
Assign audio or video roles (dialogue, music, effects, titles) to a clip in an FCPXML timeline. Modify clip role assignment by specifying the role and file path.
Instructions
Set the audio or video role on a clip (dialogue, music, effects, titles, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | Yes | Clip name or ID | |
| filepath | Yes | Path to FCPXML file | |
| audio_role | No | Audio role (e.g., dialogue, music, effects) | |
| video_role | No | Video role (e.g., video, titles) | |
| output_path | No | Output path (default: adds _modified suffix) |