diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-04 22:32:57 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-04 22:32:57 +0200 |
| commit | 76c64dd94d25cd896c75bbe9d000aed7dfc33653 (patch) | |
| tree | 71a394cc482baa5addb2ce0d9b81ee689227d41a /app/relay/modules/samplernn.js | |
| parent | cfe98e6eef5ca24b5c2656fcda8e3fac71d55a1d (diff) | |
messages from tasks
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 = { |
