diff --git a/jh19-rostock/__init__.py b/jh19-rostock/__init__.py index 0670cbb..eb8c769 100644 --- a/jh19-rostock/__init__.py +++ b/jh19-rostock/__init__.py @@ -10,20 +10,11 @@ scheduleUrl = 'https://gist.githubusercontent.com/danimo/9c4cd61461435791b205d2b # For (really) too long titles titlemap = { - 7: "Metawahl", - 8: "Radmesser", - 4: "Flask", - 10: "RIOT", - 9: "API Reverse-Engineering", - 13: "Eduship – Bock auf mehr Hackathons", - 14: "Programmier-Praxistipps", - 6: "Musik machen mit Code", - 20: "Abschlusspraesentation", - 26: "VKS", +# 26: "VKS", } personmap = { - 20 : "", +# 20 : "", } def introFrames(parameters): @@ -182,9 +173,6 @@ def debug(): def tasks(queue, args, idlist, skiplist): # iterate over all events extracted from the schedule xml-export for event in events(scheduleUrl): - if event['room'] not in ('Technologiezentrum'): - print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id'])) - continue if not (idlist==[]): if 000000 in idlist: print("skipping id (%s [%s])" % (event['title'], event['id'])) @@ -193,20 +181,20 @@ def tasks(queue, args, idlist, skiplist): print("skipping id (%s [%s])" % (event['title'], event['id'])) continue - # generate a task description and put them into the queue - projectname = event['title'] - id = event['id'] - queue.put(Rendertask( - infile = 'intro.svg', - outfile = str(event['id'])+".ts", - sequence = introFrames, - parameters = { -# '$id': event['id'], - '$PROJECTNAME': titlemap[id].upper() if id in titlemap else projectname.upper(), -# '$subtitle': event['subtitle'], - '$prenames': personmap[id] if id in personmap else event['personnames'] - } - )) + # generate a task description and put them into the queue + projectname = event['title'] + id = event['id'] + queue.put(Rendertask( + infile = 'intro.svg', + outfile = str(event['id'])+".ts", + sequence = introFrames, + parameters = { +# '$id': event['id'], + '$PROJECTNAME': titlemap[id].upper() if id in titlemap else projectname.upper(), +# '$subtitle': event['subtitle'], + '$prenames': personmap[id] if id in personmap else event['personnames'] + } + )) # place a task for the outro into the queue queue.put(Rendertask( diff --git a/jh19-rostock/artwork/intro.svg b/jh19-rostock/artwork/intro.svg index 39cbbba..38c8363 100644 --- a/jh19-rostock/artwork/intro.svg +++ b/jh19-rostock/artwork/intro.svg @@ -39,13 +39,13 @@ id="namedview1000" showgrid="false" inkscape:zoom="0.4404686" - inkscape:cx="637.93302" + inkscape:cx="349.52467" inkscape:cy="749.77007" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="0" inkscape:current-layer="svg998" - showguides="true" + showguides="false" inkscape:guide-bbox="true"> $RROJECTNAME + inkscape:label="#projectname"> + $PROJECTNAME + .st0{fill:#B5DDDF;} - .st1{clip-path:url(#SVGID_2_);fill:#0DA5DE;} - .st2{clip-path:url(#SVGID_2_);fill:#FFFFFF;} .st3{fill:#FFFFFF;} .st4{font-family:'Ebisu';} .st5{font-size:37px;} @@ -3428,7 +3430,7 @@ id="prenames" style="font-size:37.33000183px;font-family:ModernLEDBoard-7, 'Modern LED Board-7';isolation:isolate;fill:#ffffff"> $prenames diff --git a/jh19-rostock/artwork/outro.svg b/jh19-rostock/artwork/outro.svg index ccfd668..6b0acda 100644 --- a/jh19-rostock/artwork/outro.svg +++ b/jh19-rostock/artwork/outro.svg @@ -1895,8 +1895,6 @@ id="style1407" type="text/css"> .st0{fill:#B5DDDF;} - .st1{clip-path:url(#SVGID_2_);fill:#0DA5DE;} - .st2{clip-path:url(#SVGID_2_);fill:#FFFFFF;} .st3{fill:#FFFFFF;} .st4{font-family:'Ebisu';} .st5{font-size:37px;}