diff --git a/minilac16/__init__.py b/minilac16/__init__.py index 718cb32..c231b6b 100644 --- a/minilac16/__init__.py +++ b/minilac16/__init__.py @@ -2,6 +2,10 @@ from renderlib import * from easing import * +from lxml import etree + +# URL to Schedule-XML +scheduleUrl = 'https://live.dus.c3voc.de/lac16/schedule.xml' def introFrames(p): move=50 @@ -36,22 +40,48 @@ def outroFrames(p): yield [] def debug(): - render( - 'intro.svg', - '../intro.ts', - introFrames, - { - '$id': 2, - '$title': 'Essential Aspects on Mixing', - '$person': 'Jimson Drift' - } - ) - # render( -# 'outro.svg', -# '../outro.ts', -# outroFrames +# 'intro.svg', +# '../intro.ts', +# introFrames, +# { +# '$id': 2, +# '$title': 'Essential Aspects on Mixing', +# '$person': 'Jimson Drift' +# } # ) + render( + 'outro.svg', + '../outro.ts', + outroFrames + ) + def tasks(queue, args): raise NotImplementedError('call with --debug to render your intro/outro') +def tasks(queue, args): + # iterate over all events extracted from the schedule xml-export + for event in events(scheduleUrl): + if event['room'] not in ('Seminar room', 'Soundlab', 'Mainhall'): + print("skipping room %s (%s)" % (event['room'], event['title'])) + continue + + # generate a task description and put them into the queue + queue.put(Rendertask( + infile = 'intro.svg', + outfile = str(event['id'])+".dv", + sequence = introFrames, + parameters = { + '$id': event['id'], + '$title': event['title'], + '$subtitle': event['subtitle'], + '$personnames': event['personnames'] + } + )) + + # place a task for the outro into the queue + queue.put(Rendertask( + infile = 'outro.svg', + outfile = 'outro.dv', + sequence = outroFrames + )) diff --git a/minilac16/artwork/by-sa.svg b/minilac16/artwork/by-sa.svg new file mode 100644 index 0000000..f850297 --- /dev/null +++ b/minilac16/artwork/by-sa.svg @@ -0,0 +1,199 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minilac16/artwork/outro.svg b/minilac16/artwork/outro.svg index cb902ac..1856f13 100644 --- a/minilac16/artwork/outro.svg +++ b/minilac16/artwork/outro.svg @@ -14,7 +14,7 @@ height="1080" id="svg2" version="1.1" - inkscape:version="0.48.5 r10040" + inkscape:version="0.48.4 r9939" sodipodi:docname="outro.svg"> @@ -148,6 +148,26 @@ result="composite2" dy="0" /> + + + + More Recordings available on More Recordings available on media.ccc.de - - - - - - + id="layer1-3" + inkscape:label="Layer 1" + transform="matrix(4.3809523,0,0,4.3809523,757.14284,614.50502)"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - www.ccc.de