assign_role
Set the audio or video role on a clip in a Final Cut Pro XML file, choosing from categories like 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) |