migrate to new Rendertask-Class
This commit is contained in:
parent
81b0c60fa6
commit
d11886698a
6 changed files with 100 additions and 87 deletions
|
@ -186,3 +186,15 @@ def tasks(queue):
|
|||
outfile = 'pause.dv',
|
||||
sequence = pauseFrames
|
||||
))
|
||||
|
||||
def ticket(ticket):
|
||||
return Rendertask(
|
||||
infile = 'intro.svg',
|
||||
sequence = introFrames,
|
||||
parameters = {
|
||||
'$id': ticket['Fahrplan.ID'],
|
||||
'$title': ticket.get('Fahrplan.Title'),
|
||||
'$subtitle': ticket.get('Fahrplan.Subtitle'),
|
||||
'$personnames': ticket.get('Fahrplan.Person_list')
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue