Spaces:
Running
Running
File size: 589 Bytes
926fa9d 1c1cec6 1bc35d7 256845f 926fa9d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import _ from 'lodash'
import fs from 'fs'
import { Plugin } from './plugin.js';
export class FramesPlugin extends Plugin {
constructor(name, options) {
super(name, options);
}
async applyPrerender(originalManuscript, jobId) {
if (this.options.startFrame === undefined || this.options.endFrame === undefined) {
return
}
_.set(originalManuscript, 'meta.generationConfig.extras.additionalBuildParams',
`--frames=${this.options.startFrame}-${this.options.endFrame}`);
}
async applyPostrender(originalManuscript, jobId, outFiles) {
}
} |