Spaces:
Running
Running
Commit ·
a1567a9
1
Parent(s): a703c41
Update backbone docker
Browse files- routes.js +1 -0
- server-plugins/split-render.js +2 -0
routes.js
CHANGED
|
@@ -355,6 +355,7 @@ RenderRouter.post('/api/render-sync', async (req, res) => {
|
|
| 355 |
await applyPluginsPostrender(plugins, originalManuscript, originalManuscriptPath, jobId, outFiles)
|
| 356 |
outFiles = await listOutputFiles(jobId);
|
| 357 |
console.log('Render complete, uploading... to target folder: ' + targetUrl + jobId + '/')
|
|
|
|
| 358 |
if (zip) {
|
| 359 |
let outFile = await generateOutputBundle(jobId, outFiles);
|
| 360 |
let uploadResult = await uploader.upload(outFile);
|
|
|
|
| 355 |
await applyPluginsPostrender(plugins, originalManuscript, originalManuscriptPath, jobId, outFiles)
|
| 356 |
outFiles = await listOutputFiles(jobId);
|
| 357 |
console.log('Render complete, uploading... to target folder: ' + targetUrl + jobId + '/')
|
| 358 |
+
console.log('Files to upload: ', outFiles)
|
| 359 |
if (zip) {
|
| 360 |
let outFile = await generateOutputBundle(jobId, outFiles);
|
| 361 |
let uploadResult = await uploader.upload(outFile);
|
server-plugins/split-render.js
CHANGED
|
@@ -86,8 +86,10 @@ export class SplitRenderPlugin extends Plugin {
|
|
| 86 |
return;
|
| 87 |
}
|
| 88 |
fs.unlinkSync(outFile);
|
|
|
|
| 89 |
console.log('[SplitRenderPlugin] FFmpeg process completed successfully, took ', perf.elapsedString());
|
| 90 |
console.log('[SplitRenderPlugin] [FFmpeg stdout]:', stdout);
|
|
|
|
| 91 |
if (stderr) {
|
| 92 |
console.log('[SplitRenderPlugin] [FFmpeg stderr]:', stderr);
|
| 93 |
}
|
|
|
|
| 86 |
return;
|
| 87 |
}
|
| 88 |
fs.unlinkSync(outFile);
|
| 89 |
+
console.log('[SplitRenderPlugin] Removed initial render file:', outFile);
|
| 90 |
console.log('[SplitRenderPlugin] FFmpeg process completed successfully, took ', perf.elapsedString());
|
| 91 |
console.log('[SplitRenderPlugin] [FFmpeg stdout]:', stdout);
|
| 92 |
+
console.log('[SplitRenderPlugin] Final output file:', finalOutFile);
|
| 93 |
if (stderr) {
|
| 94 |
console.log('[SplitRenderPlugin] [FFmpeg stderr]:', stderr);
|
| 95 |
}
|