From 178ab6ef5e8a9016506ee7479a1b9eb629bc245f Mon Sep 17 00:00:00 2001 From: Alexander Votteler Date: Thu, 31 Aug 2017 22:04:33 +0200 Subject: [PATCH] MRMCD17 Intro --- mrmcd2017/__init__.py | 27 +++++++++++++++++++-------- mrmcd2017/artwork/intro.svg | 29 ++++++++--------------------- 2 files changed, 27 insertions(+), 29 deletions(-) diff --git a/mrmcd2017/__init__.py b/mrmcd2017/__init__.py index 9143ee3..979968b 100755 --- a/mrmcd2017/__init__.py +++ b/mrmcd2017/__init__.py @@ -1,5 +1,6 @@ #!/usr/bin/python3 +import subprocess from renderlib import * from easing import * @@ -95,9 +96,12 @@ def debug(): } ) -def tasks(queue, params): +def tasks(queue, args, idlist, skiplist): # iterate over all events extracted from the schedule xml-export - for event in events(scheduleUrl, titlemap): + for event in events(scheduleUrl): + if event['room'] not in ('Prachtgarten', 'Ziergarten'): + print("skipping room %s (%s)" % (event['room'], event['title'])) + continue # generate a task description and put them into the queue queue.put(Rendertask( @@ -112,9 +116,16 @@ def tasks(queue, params): } )) - # place a task for the outro into the queue - queue.put(Rendertask( - infile = 'outro.svg', - outfile = 'outro.ts', - sequence = outroFrames - )) + # # place a task for the outro into the queue + # queue.put(Rendertask( + # infile = 'outro.svg', + # outfile = 'outro.ts', + # sequence = outroFrames + # )) + # + # # place the pause-sequence into the queue + # queue.put(Rendertask( + # infile = 'pause.svg', + # outfile = 'pause.ts', + # sequence = pauseFrames + # )) diff --git a/mrmcd2017/artwork/intro.svg b/mrmcd2017/artwork/intro.svg index e8ad9d3..d44f2a1 100755 --- a/mrmcd2017/artwork/intro.svg +++ b/mrmcd2017/artwork/intro.svg @@ -143,10 +143,10 @@ transform="scale(1,-1)" y="-1080" x="-1.4210855e-14" - height="690" + height="540.09338" width="1920" id="rect" - style="opacity:0.7;fill:#000000;stroke-width:2.39954925" + style="opacity:0.7;fill:#000000;stroke-width:2.12294888" inkscape:label="#rect" /> $title $subtitle