I have a Python script that will upload to a major file sharing service using their API, it just needs to receive file path as argument.
I’d like for this to be an option in Deadline for them to “Submit to Filesharing Service” from Deadline Monitor Submission tab or have their render job as a dependency to upload after.
I fudged around with existing Python submission script, removing SceneFile selection option and setting it to the file path of my script. I also turned argument text box into a file selector to select their file.
Is this the optimal way to do this? I started by creating a simple plugin but realized I might as well not re-invent the wheel with managing Python versions and what not since I still need to use Python to run the script.
I’ll need to do this for a few different scripts I have that will take file path as argument. Is there any gotchas that I’m missing?