Skip to main content
Austin1982
Inspiring
August 8, 2016
Answered

Update all clips to latest version

  • August 8, 2016
  • 3 replies
  • 1276 views

I need a script that can look at all of my clips and see if there is a newer version, if there is, update the clip to the newer version.  What would be the best way for me to go about this?  All of the clips will most likely be quicktimes and will have a version number in the file name (..._v002.mov, ..._v003.mov, etc..)

Thanks!

This topic has been closed for replies.
Correct answer Austin1982

I managed to get some code cobbled together that works for me.  All good, thanks!

3 replies

Dan Sturm
Participant
May 16, 2022

I don't supposed this script still works and you'd be willing to share it, would you?

phlexib
Inspiring
August 25, 2016

Hi,

I just wrote a similar script for the exact same reason. And, I can't get the clip name to change in the timeline.

How did you finally managed that last piece of the puzzle ?

Bruce Bullis
Legend
August 9, 2016

Newer version, where?

If you save a new filename.mov over the top of the previous filename.mov, PPro will notice.

Are you trying to change the path of the existing projectItem?


Also—why so much QuickTime?

Austin1982
Inspiring
August 9, 2016

It is for an animated show.  Comp will be running out quicktime prores files and our editor right now is having to manually go through and update the edit every week looking for new comp versions.  For example, our directory structure is like... "y:\job\show\shot\renders\comp\shot_comp_v003.mov"  ...basically I need the script to look at the media path for each element and determine if there is a newer version, if so, point it to that file instead (ex. update shot_comp_v003.mov with shot_comp_v004.mov).

Austin1982
Inspiring
August 10, 2016

Those clips wouldn't update if you'd used PPro's UI to change the projectItem's name, either.

Get bin name = You can get the projectItem from the clip, then look at projectItem.treePath.


Thanks for the help Bruce... the bin issue is now fixed.  Would it be possible for me to send you my script so you could see if there is any way I could update the name of the clip on the timeline?  That is the last piece of the puzzle that is not working.