Automation Blocks : Insert and Sort Timeline Clips by Label Color for Multicam Editing
I'm working as a professional wedding video editor and regularly handle multi-camera edits with 3 angles. I'm trying to automate my timeline structure using Automation Blocks to streamline the color correction workflow.
My Editing Setup
-
Camera 1 (Main Cam): Center camera — always goes to V1 (and A1 for audio)
-
Camera 2 (Yellow Label): Cinematic — should go to V2 (video), A1 (audio)
-
Camera 3 (Brown Label): Secondary — should go to V3 (video), A1 (audio)
What I Want to Achieve:
I need two Automation Blocks scripts
1. Insert Logic During Editing
When I select a clip from the Project panel:
-
It should detect the label color (Yellow or Brown)
-
Then automatically insert it into specific tracks (V2 or V3) based on label
-
Audio should always go to A1
-
This should work on the active sequence, at the playhead position
2. Sort Logic After Editing
Once the edit is complete:
-
Script should loop through all clips in the timeline
-
Detect their label color
-
Move each clip to its assigned video track
-
No audio change
-
Useful for organizing tracks before doing color grading (which I do per camera)
What I've Tried
-
Tried to build the "insert" block myself, but it fails with error:
Unknown block type pr_get_selected_project_items -
I also need to make sure the script works across multiple projects and doesn't break due to color naming differences or errors.
