example :
Drive name=Lots of Stuff
folder name =Folder of stills
media=image1.jpg
which should resolve to on OS X to an absolute path of SystemSSD/Volumes/Lots of Stuff/Folder of stills/image1.jpg
and comp is located at
Drive name=Project123
Folder=Sept 2020
proj file=comp123
Full path should be SystemSSD/Volumes/Project123/Sept 2020/comp123
I"m still trying to figure this code out and not knowing its details of the language is hard, but I take it that lines 231-250 is what collects and decides if the file is local or not ?
UPDATE : I set COMPDEPTH=1 and that triggered a file copy, except the mkdir failed to generate the folder and cp also failed. R/W on the volume, no error msg it failed.
Bryan Ray wrote:It's just an integer that needs to be set in accordance with the the pipeline's structure. Let's suppose that in your environment, the path to the comp looks like this:
/Volumes/Drive/Project/Shot/Fusion/Project_Shot_composite_v01.comp
You want to be sure that assets associated with your comp always live in the Shot directory somewhere. It's two folders up from where the comp lives to Shot, so COMPDEPTH = 2 for your pipeline. If your path is instead this:
/Volumes/Drive/Project/Shot/Applications/Fusion/Project_Shot_composite_v01.comp
Then the COMPDEPTH = 3
The ASSETFOLDER is the path relative to the Shot where you want the asset to be copied. So if you set that variable like so:
ASSETFOLDER = [[elements/comp]]
Then the assets will be copied to this path:
/Volumes/Drive/Project/Shot/elements/comp/my-asset/my-asset.####.jpg
The four lines under the PIPELINE GLOBALS are the only ones that most TDs should need to change, and as long as everything remains conformed to the pipeline, the script will work.