Commit 416c078d69fb82ad3330a1d343ee43e307416a46
1 parent
d1db84a7
Exists in
master
and in
1 other branch
Testando alteração na chamada ao core
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
endpoints/video_legenda.js
... | ... | @@ -99,7 +99,7 @@ function callCore(id, video, subtitle, req, res) { |
99 | 99 | |
100 | 100 | /* Cria a linha de comando */ |
101 | 101 | var command_line = 'vlibras_user/vlibras-core/./vlibras ' + parameters.getServiceType(req.body.servico) + ' ' + |
102 | - video.path + ' ' + subtitle.path + ' ' + parameters.getLanguage(req.body.linguagem) + | |
102 | + video.path.slice(2) + ' ' + subtitle.path.slice(2) + ' ' + parameters.getLanguage(req.body.linguagem) + | |
103 | 103 | ' ' + parameters.getPosition(req.body.posicao) + ' ' + parameters.getSize(req.body.tamanho) + ' ' + |
104 | 104 | parameters.getTransparency(req.body.transparencia) + ' ' + id + ' > /tmp/core_log 2>&1'; |
105 | 105 | ... | ... |