diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 02:38:54 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 02:38:54 +0200 |
| commit | 659b4d4f176fc79f16294ae2b65b1e157fac34d2 (patch) | |
| tree | dc18a64a731f60083209ce15eed7689c6f1c3179 /splice.pl | |
| parent | e95269fd4a34df14bbb2e92d4606665a072c9d10 (diff) | |
log
Diffstat (limited to 'splice.pl')
| -rw-r--r-- | splice.pl | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -92,17 +92,16 @@ if (defined $endpoint) { print("post to $endpoint\n"); my $cmd = [ "curl", - "-X", "POST", - "-F", "folder_id=$folder_id", - "-F", "module=$module", - "-F", "name=$dataset.mov", - "-F", "url=https://s3.amazonaws.com/i.asdf.us/cortex/lens/data/$folder_id/$dataset.mov", - "-F", "dataset=$dataset", - "-F", "activity=splice", - "-F", "generated=false", - "-F", "processed=true", - "-F", "datatype=video", - $endpoint + " -X POST", + " -F folder_id=$folder_id", + " -F module=$module", + " -F name=$dataset.mov", + " -F url=https://s3.amazonaws.com/i.asdf.us/cortex/lens/data/$folder_id/$dataset.mov", + " -F dataset=$dataset", + " -F activity=splice", + " -F processed=1", + " -F datatype=video", + " " . $endpoint ] print(join("\n", @$cmd)); |
