Copy link to clipboard
Copied
Hi All,
Is there a way to differentiate the subclip items in a project from the normal original/master media file items?
We have checked the projectItem(app.project.rootItem.items[x]) properties and functions, but cannot find anything.
Thanks and Regards,
Anoop NR
Hi Bruce,
For both master clips and subclips we get simlar private project metadata from app.project.rootItem.children[x].getProjectMetadata().
One difference we can consistantly find is the presense of following subclip related properties only in subclip metadata.
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipStart>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipEnd>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipDuration>
We are planning to relay on any of these properti
...Copy link to clipboard
Copied
@emam-dev wrote:
Hi All,
Is there a way to differentiate the subclip items in a project from the normal original/master media file items?
We have checked the projectItem(app.project.rootItem.items[x]) properties and functions, but cannot find anything.
Thanks and Regards,
Anoop NR
I think you just found it; check for the presence of private project metadata.
Copy link to clipboard
Copied
Hi Bruce,
For both master clips and subclips we get simlar private project metadata from app.project.rootItem.children[x].getProjectMetadata().
One difference we can consistantly find is the presense of following subclip related properties only in subclip metadata.
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipStart>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipEnd>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipDuration>
We are planning to relay on any of these properties to identlfy the clip as a subclip?
Thanks
Copy link to clipboard
Copied
It would seem that the presence of those properties indicates you have a sub-clip.