Building a plugin and hitting these gaps. Each has CEP/ExtendScript precedent.
1. Ability to read/write ProjectItem level markers
2. No stable TrackItem ID. Every available identifier (trackIndex, startTime, inPoint/outPoint, name) changes under normal edits. Can’t reliably associate metadata with a specific clip instance. Please add getId(): Promise<string>.
3. No writable per-clip metadata field. Only name is writable, and tagging it pollutes the UI. AE has layer.comment; CEP had XMP metadata. Please add getComments/createSetCommentsAction or get/setMetadata(key, value).
4. No per-TrackItem color label. ProjectItem.getColorLabelIndex() returns the bin color, not the per-clip label users set on the timeline (right-click → Label). Please add getColorLabelIndex() on VideoClipTrackItem/AudioClipTrackItem (with a setter too).
Without these, plugins that remember things per clip have to rely on fragile heuristics.
Thanks,
Leyero
Each has CEP/ExtendScript precedent.
?! I don’t think that’s the case…
- Ability to read/write ProjectItem level markers
The premiere-api sample successfully reads and writes projectItem markers.
2. No stable TrackItem ID.
There never was a stable trackItem ID (nodeID can change across Premiere sessions); UXP displays the same behavior as CEP+ExtendScript.
3. No writable per-clip metadata field.
Premiere has never supported per-trackItem metadata; as with CEP+ExtendScript, all metadata is still associated with the trackItem’s projectItem.
4. No per-TrackItem color label.
Premiere has never supported per-trackItem control of label colors; each trackItem inherits the label color of the projectItem, at the time the trackItem was created. UXP displays the same behavior as CEP+ExtendScript.
Apologies about a bit of confusing feature request.
I’ve used nodeID to identify clips in extension and stored in projectItem’s metadata. It was consistent in my experience.
Per clip I meant per ProjectItem. Right now I don’t see any documentation on how to access it
yes it inherits from ProjectItem but user still can chage per clip label. It wasn’t a thing in CEP but it would be nice to have method of reading per-clip label value.
Thank you