diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 01:52:58 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 01:52:58 +0200 |
| commit | 2a5fcdecf400b08f782db1fbe3ef4a759d0f08f0 (patch) | |
| tree | 2c22e137c8baedea8a4809dd1ea4873787859344 /app/relay | |
| parent | 8004a449f0c3090614158039734816a5b780ec18 (diff) | |
taskz
Diffstat (limited to 'app/relay')
| -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, } } |
