fixes handling of audiofiles.
Now in the __init__.py of the projects a audiofile can be given to the Rendertask: For example: queue.put(Rendertask( infile = 'intro.svg', audiofile = 'intro.mpg', outfile = str(event['id'])+".ts", sequence = introFrames, parameters = { '$ID': event['id'], '$TITLE': event['title'], '$SUBTITLE': event['subtitle'], '$SPEAKER': event['personnames'] } ))
This commit is contained in:
parent
c64e1bfea0
commit
d10e8b401f
2 changed files with 9 additions and 4 deletions
2
make.py
2
make.py
|
@ -181,6 +181,8 @@ def worker():
|
|||
|
||||
# prepend workdir to input file
|
||||
task.infile = os.path.join(workdir, task.infile)
|
||||
if task.audiofile:
|
||||
task.audiofile = os.path.join(workdir, task.audiofile)
|
||||
task.outfile = os.path.join(outdir, task.outfile)
|
||||
task.workdir = workdir
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue