fixed pause generation for eh15
This commit is contained in:
parent
d7941fc02d
commit
5606f474ef
1 changed files with 13 additions and 10 deletions
|
@ -42,7 +42,7 @@ def introFrames(parameters):
|
||||||
('text', 'attr', 'transform', 'translate(%.4f, 0)' % 30),
|
('text', 'attr', 'transform', 'translate(%.4f, 0)' % 30),
|
||||||
)
|
)
|
||||||
|
|
||||||
def pauseFrames():
|
def pauseFrames(parameters):
|
||||||
# 7 Sekunden
|
# 7 Sekunden
|
||||||
|
|
||||||
# 3 Sekunde Text FadeIn
|
# 3 Sekunde Text FadeIn
|
||||||
|
@ -67,7 +67,7 @@ def pauseFrames():
|
||||||
)
|
)
|
||||||
|
|
||||||
def debug():
|
def debug():
|
||||||
render(
|
''' render(
|
||||||
'intro.svg',
|
'intro.svg',
|
||||||
'../intro.dv',
|
'../intro.dv',
|
||||||
introFrames,
|
introFrames,
|
||||||
|
@ -89,8 +89,7 @@ def debug():
|
||||||
'$subtitle': 'Physiologie von Schlaf und Wachzustand',
|
'$subtitle': 'Physiologie von Schlaf und Wachzustand',
|
||||||
'$personnames': 'Christina'
|
'$personnames': 'Christina'
|
||||||
}
|
}
|
||||||
)
|
)'''
|
||||||
|
|
||||||
render('pause.svg',
|
render('pause.svg',
|
||||||
'../pause.dv',
|
'../pause.dv',
|
||||||
pauseFrames
|
pauseFrames
|
||||||
|
@ -100,6 +99,10 @@ def tasks(queue):
|
||||||
# iterate over all events extracted from the schedule xml-export
|
# iterate over all events extracted from the schedule xml-export
|
||||||
for event in events(scheduleUrl):
|
for event in events(scheduleUrl):
|
||||||
|
|
||||||
|
# HACK: only render event 49
|
||||||
|
#if event['id'] != 49:
|
||||||
|
# continue
|
||||||
|
|
||||||
# generate a task description and put them into the queue
|
# generate a task description and put them into the queue
|
||||||
queue.put(Rendertask(
|
queue.put(Rendertask(
|
||||||
infile = 'intro.svg',
|
infile = 'intro.svg',
|
||||||
|
@ -125,9 +128,9 @@ def tasks(queue):
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
|
|
||||||
# place the pause-sequence into the queue
|
# place the pause-sequence into the queue
|
||||||
queue.put(Rendertask(
|
queue.put(Rendertask(
|
||||||
infile = 'pause.svg',
|
infile = 'pause.svg',
|
||||||
outfile = 'pause.dv',
|
outfile = 'pause.dv',
|
||||||
sequence = pauseFrames
|
sequence = pauseFrames
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Reference in a new issue