Have you considered a simple workaround such as saving the project with a unique filename every time you save it to the watch folder? Like appending a number to the end and incrementing it every time you save? (myproj_1, myproj_2, etc...). This seems like a reasonable workaround since the project you're saving to the watch folder is only a copy anyway (that get moves to the 'source' folder after rendering).
This does not work for us.
We use File -> Dependencies -> Collect Files
We are not using 'save a copy'.
We do this as of recommendation by Adobe for multi-machine watch folder rendering:
This ensures that all assets in the project are copied with it, so that AME is not missing any media during render.
When we do this, we cannot create a new file name or change the version number.
How about using 'Save a copy' locally to rename the project prior to collecting the files onto your network share. Again, not the cleanest solution but still preferable to using sneaknet / Remote Desktop to restart ME.
Alright, I see what you mean.
This is not necessarily a solution but a workaround. We will need to inform all our editors to do this..
I'll try this out tomorrow and let you know if having a new project solves this issue.
I wrote a script to automate the process for your editors. This gave me a good excuse to write my first AE script
The script will perform the following steps:
- Save current project with original filename (to make sure all changes are reflected)
- Does the equivalent of a "Save As", using a unique/temporary filename based on the user name + date/time
- Triggers the "Collect Files" dialog to allow your users/editors to perform their usual 'Collect Files' function
- Re-opens the project with the original filename
Copy and paste the script below and save it as "CollectFilesWithUniqueProjName.jsx" to your computer.
You can execute this script by performing File -> Scripts -> Run Script File. A better and easier way is to save a copy to your AE scripts folder (typically C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files\Scripts). After first copying it you'll need to restart AE once since it only loads the script list at startup. It'll then be available via a single click of File -> Scripts -> (Select the script in the list of scripts).
Here's the script. I've only tested it under the Windows version of AE:
Author: Horshack, 04/10/17
Saves current project as unique temporary filename, then brings up
'Collect Files' dialog to allow user to save the project+files under unique
name, then re-opens original project.
This is a workaround to the Adobe Media Encoder "watch folder" issue of not
picking up new compositions in the project file.
* generate unique (temporary) filename for project based on current project name + current user + current date/time
var currentDateTime = new Date();
var currentDateTimeStr = "" + (currentDateTime.getMonth()+1) + currentDateTime.getDate() + currentDateTime.getFullYear() + "_" + currentDateTime.getHours() + currentDateTime.getMinutes() + currentDateTime.getSeconds();
var origFile = app.project.file;
var origFullFileName = origFile.toString();
var newFileName = origFullFileName.substr(0, origFullFileName.lastIndexOf(".")) + "_" + system.userName + "_" + currentDateTimeStr + ".aep";
writeLn("Temporary filename: " + newFileName);
* first, save current project to make sure any outstanding changes are reflected in original project file
* now save project again under unique (temporary) filename
var newFile = new File(newFileName);
* trigger 'Collect Files' dialog to allow user to save project under unique/temp filename
* all done - re-open original project
This is great, thanks for taking this amazing effort.
I have just installed the script as you explained and it works.
It indeed overcomes the issue of picking up new compositions / AME not refreshing the project file.
We will experiment a little more with this script.
Again, thanks for this solution. Hope others can benefit from it as well.
Was actually pretty straightforward.
The temporary project created for this (that you create by means of current date and time) is simply removed by adding the line below.
However, make sure that you enable the checkbox that AE Scripts can access the File system (AE -> Preferences -> General)
//trigger 'Collect Files' dialog to allow user to save project under unique/temp filename
//Delete the temporary project, we don't need it anymore
//all done - re-open original project