Copy link to clipboard
Copied
Hi! I made a script that, beside other things, it delete from the project the unused clips.
It works fine but i found an issue that delete my audio clip even if it is used in timeline, if it has remix enabled.
Here are 3 cases:
1- Audio clips with remix disabled: works fine (it is not deleted from the timeline)
2- Audio clips with remix enabled but not edit (right click->enable remix, no audio extend): works fine (it is not deleted from the timeline)
3- Audio clips with remix enabled and minimum edit (audio extend): doesn't work (the clip is deleted from timeline)
Are remixed clips treated differently from standard clips? Maybe they are no more identified as "audio clip" or something similar?
Thank you!
Remix puts the original trackItem into a sequence; that would change its backing projectItem.
Copy link to clipboard
Copied
There is no such thing as a 'clip', in PPro; there are only projectItems, and trackItems. 🙂
Remix wraps 'clips' (trackItems) in a new sequence (sequences are all projectItems).
Send me a representative project with media, and your ExtendScript, and I'll have a look...?
Copy link to clipboard
Copied
Hi Bruce, at the moment i can't provide you the code, maybe next days, thanks.
Is there a way to get the projectItem of the new sequence that remix create?
We've used (by memory) something like "clipname.projectItem.nodeid", but when the audio is remixed, it become "undefined"
Any idea?
Thanks
Copy link to clipboard
Copied
Remix puts the original trackItem into a sequence; that would change its backing projectItem.
Copy link to clipboard
Copied
Ok, but how i can get a reference to it once it changed?