assign_role
Assigns an audio or video role to a clip in an FCPXML file, such as dialogue, music, effects, or titles.
Instructions
Set the audio or video role on a clip (dialogue, music, effects, titles, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to FCPXML file | |
| clip_id | Yes | Clip name or ID | |
| 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) |