mirror of
https://github.com/blw1138/Zordon.git
synced 2025-12-17 16:58:12 +00:00
Add submit job to HTML page
This commit is contained in:
@@ -43,9 +43,14 @@ class FFMPEGRenderWorker(BaseRenderWorker):
|
||||
|
||||
cmd = [self.renderer_path(), '-y', '-stats', '-i', self.input_path]
|
||||
if self.args:
|
||||
cmd.extend(self.args)
|
||||
cmd.append(self.output_path)
|
||||
cmd.extend([x for x in self.args if x != 'raw'])
|
||||
|
||||
# Convert raw args from string if available
|
||||
raw_args = self.args.get('raw', None)
|
||||
print(raw_args)
|
||||
if raw_args:
|
||||
cmd.extend(raw_args.split(' '))
|
||||
cmd.append(self.output_path)
|
||||
return cmd
|
||||
|
||||
def percent_complete(self):
|
||||
|
||||
Reference in New Issue
Block a user