I’m using the CommandScript plugin to run a bunch of image conversions in a row. It works fine but I was wondering if there is a way to tell Deadline about the progress of each task. I’ve seen that other plugins are detecting strings in the renderer’s stdout stream and extract a percentage value from there. Would there be a way to do something like that for the command script plugin? It’s more of a cosmetic thing for me so I’m shying away from writing a custom plugin.
You can add progress code, but the CommandScript plugin is supposed to be generic. You can always fiddle with that if you want to, but it feels wrong to me.
What I would do is make a copy of the CommandScript plugin folder in the “[repo]/custom/plugins” folder, rename it and its contents and then just change your submission process to have a different “Plugin=[blah]” line.
For example, if you copied it from “[repo]/plugins/CommandScript/” to “[repo]/custom/plugins/ImageConverter/” (and renamed the files), the plugin line for your submission would read “Plugin=ImageConverter”. This will tell the Slave to load your custom plugin with new progress reporting. There’s more info here:
docs.thinkboxsoftware.com/produc … ssion.html
I can help with the other bits too.