Inserts for Datengarten
This commit is contained in:
parent
c832014b8b
commit
2e569321a8
3 changed files with 44 additions and 15 deletions
|
@ -5,6 +5,13 @@ from easing import *
|
|||
|
||||
scheduleUrl = "https://berlin.ccc.de/datengarten/index.xml"
|
||||
|
||||
personmap = {
|
||||
}
|
||||
|
||||
taglinemap = {
|
||||
}
|
||||
|
||||
|
||||
def introFrames(p):
|
||||
move=50
|
||||
|
||||
|
@ -87,6 +94,25 @@ def tasks(queue, args, idlist, skiplist):
|
|||
}
|
||||
))
|
||||
|
||||
for person in persons(scheduleUrl, personmap, taglinemap, event['id']):
|
||||
queue.put(Rendertask(
|
||||
infile = 'lower-third.svg',
|
||||
outfile = "event_{}_person_{}.png".format(str(event['id']), str(person['id'])),
|
||||
parameters = {
|
||||
'$PERSON': person['person'],
|
||||
'$TAGLINE': person['tagline'],
|
||||
}
|
||||
))
|
||||
|
||||
queue.put(Rendertask(
|
||||
infile = 'lower-third.svg',
|
||||
outfile = "event_{}_persons.png".format(str(event['id'])),
|
||||
parameters = {
|
||||
'$PERSON': event['personnames'],
|
||||
'$TAGLINE': '',
|
||||
}
|
||||
))
|
||||
|
||||
# place a task for the outro into the queue
|
||||
if not "out" in skiplist:
|
||||
queue.put(Rendertask(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue