From 062fb3d527d52cb9c9104198ac91bce9f86445e8 Mon Sep 17 00:00:00 2001 From: Markus Otto Date: Tue, 10 Oct 2017 15:01:52 +0200 Subject: [PATCH] qtws2017: fix animations and company field --- qtws2017/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qtws2017/__init__.py b/qtws2017/__init__.py index 92668c0..93bc069 100644 --- a/qtws2017/__init__.py +++ b/qtws2017/__init__.py @@ -83,12 +83,13 @@ def outroFrames(p): ('timelocation', 'style', 'opacity', "%.4f" % 0), ('videoby', 'style', 'opacity', "%.4f" % easeLinear(i, 0, 1, frames)), ) - frames = 1*fps + frames = 2*fps for i in range(0, frames): - yield [] + yield [] def backgroundFrames(parameters): + return frames = 25*3 for i in range(0, frames): yield ( @@ -156,7 +157,7 @@ def tasks(queue, args, idlist, skiplist): parameters = { '$ID': event['id'], '$TITLE': event['title'], - '$SUBTITLE': event['subtitle'], + '$COMPANY': event['subtitle'], '$SPEAKER': event['personnames'] } ))