diff options
Diffstat (limited to 'app/relay/modules/pix2pixhd.js')
| -rw-r--r-- | app/relay/modules/pix2pixhd.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/relay/modules/pix2pixhd.js b/app/relay/modules/pix2pixhd.js index 7d3c939..a894d3e 100644 --- a/app/relay/modules/pix2pixhd.js +++ b/app/relay/modules/pix2pixhd.js @@ -229,6 +229,22 @@ const render_recursive = { ] } } +const splice = { + type: 'perl', + script: 'splice.pl', + params: (task) => { + console.log(selection) + return [ + '--dataset', task.dataset, + '--sequence', task.opt.sequence, + '--start_frame', selection.start.i, + '--end_frame', selection.end.i, + '--module', task.module, + '--folder_id', task.opt.folder_id, + '--endpoint', process.env.API_REMOTE + '/api/file/', + ] + } +} function pad(num, size) { if (isNaN(parseInt(num))) return num; @@ -249,5 +265,6 @@ export default { live, render, render_recursive, + splice, } } |
