diff options
Diffstat (limited to 'app/relay/modules/samplernn.js')
| -rw-r--r-- | app/relay/modules/samplernn.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/relay/modules/samplernn.js b/app/relay/modules/samplernn.js index d3b5012..64a6b88 100644 --- a/app/relay/modules/samplernn.js +++ b/app/relay/modules/samplernn.js @@ -6,11 +6,14 @@ const cwd = process.env.SAMPLERNN_CWD || path.join(process.env.HOME, 'code/' + n const fetch = { type: 'perl', script: 'get.pl', - // here i need to bridge again... get the filename that comes back from youtube-dl - // and tell the cortex that URL -> fn and add the filename!s params: (task) => { console.log(task) return [ task.opt.url ] + }, + listen: (task, line, i) => { + // here i need to bridge again... get the filename that comes back from youtube-dl + // and tell the cortex that URL -> fn and add the filename!s + return null } } const train = { |
