rename_clips
Rename all clips in the current Media Pool folder using a token pattern that supports camera, reel, counter, date, time, and unique ID variables.
Instructions
Rename all clips in the current Media Pool folder using a token pattern.
Supported tokens: {CAM} or {CAMERA} - camera letter (from camera param) {REEL} or {REEL:N} - reel number, optionally zero-padded to N digits {N} or {N:N} - clip counter starting at start_number, optionally zero-padded {DATE} - today's date in YYMMDD format {TIME} - current time in HHMMSS format {UID} - unique ID string (auto-generated if empty)
Example: "{CAM}{REEL:3}_{N:4}" with camera="A", reel=1, start_number=1 produces "A001_0001", "A001_0002", etc.
Args: pattern: Token pattern string for generating clip names. camera: Camera letter identifier (default: "A"). reel: Reel number (default: 1). start_number: Starting number for the {N} counter (default: 1). uid: Unique ID string. Auto-generated if empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | ||
| reel | No | ||
| camera | No | A | |
| pattern | Yes | ||
| start_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |