Get Project Item Media Property
START and DURATION read native Media time through the operation's modern method or legacy Promise property. A failing modern read is not retried through the legacy property. Non-clip Project Items are rejected with the ordinary clip-eligibility error before reading Media. A missing Media, malformed TickTime, or failing native Media read throws PROPERTY_DATA_UNAVAILABLE with property, stable input item ref, source operation and original cause. trySetVar can capture this optional read; ordinary expression evaluation remains an error. Only a positively sequence-like source gets the END_TIME diagnostic hint after a Media failure. Failed or malformed optional classification cannot replace the original Media error; successful Media reads do not perform extra classification. Native Media START/DURATION failed for the verified ordinary Sequence, Multicam and Merged fixtures. This does not narrow IS_SEQUENCE or the Sequence resolver. Use prGetProjectItemSequenceProperty END_TIME when the intended fact is the Sequence's timeline extent; it is a distinct value, not an automatic replacement for Media duration/start or source handles. No Sequence-end, metadata, zero or false fallback is applied.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
item | yes | expression | reference, premiere-pathspec-string | — |
property | yes | string | enum-string | START, DURATION |
Notes
STARTandDURATIONread native Media time through the operation's modern method or legacy Promise property. A failing modern read is not retried through the legacy property.- Non-clip Project Items are rejected with the ordinary clip-eligibility error before reading Media. A missing Media, malformed TickTime, or failing native Media read throws
PROPERTY_DATA_UNAVAILABLEwith property, stable input item ref, source operation and original cause.trySetVarcan capture this optional read; ordinary expression evaluation remains an error. - Only a positively sequence-like source gets the END_TIME diagnostic hint after a Media failure. Failed or malformed optional classification cannot replace the original Media error; successful Media reads do not perform extra classification.
- Native Media START/DURATION failed for the verified ordinary Sequence, Multicam and Merged fixtures. This does not narrow
IS_SEQUENCEor the Sequence resolver. UseprGetProjectItemSequencePropertyEND_TIMEwhen the intended fact is the Sequence's timeline extent; it is a distinct value, not an automatic replacement for Media duration/start or source handles. No Sequence-end, metadata, zero or false fallback is applied.
See Also
- Premiere Reference Paths: Explains Premiere reference path strings for project items, sequences, tracks, timeline items, markers, components, and parameters.
Examples
Probe First Footage Source Timecode Surfaces
Audits typed media timing, complete project-local metadata, and imported media XMP for the first footage item in the project without consulting Project Panel visibility.
Topics: project inspection, source timecode, metadata, xmp
Source: probes/ex-project-item-source-timecode-first-footage.json