diff --git a/fossgis15/__init__.py b/fossgis15/__init__.py
new file mode 100644
index 0000000..1cc0e75
--- /dev/null
+++ b/fossgis15/__init__.py
@@ -0,0 +1,206 @@
+#!/usr/bin/python3
+
+import subprocess
+from renderlib import *
+
+# URL to Schedule-XML
+scheduleUrl = 'http://www.fossgis.de/konferenz/2015/programm/schedule.de.xml'
+
+# For (really) too long titles
+titlemap = {
+ #708: "Neue WEB-Anwendungen des LGRB Baden-Württemberg im Überblick"
+}
+
+
+def outroFrames(params):
+ # 5 Sekunden
+
+ # 2 Sekunden Fadein Text
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('banderole', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames) ),
+ ('license', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunde Fadein Lizenz-Logo
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('banderole', 'style', 'opacity', 1),
+ ('license', 'style', 'opacity', "%.4f" % (float(i)/frames))
+ )
+
+ # 1 Sekunde stehen bleiben
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('banderole', 'style', 'opacity', 1),
+ ('license', 'style', 'opacity', 1)
+ )
+
+def introFrames(params):
+ # 7 Sekunden
+
+ # 2 Sekunden Text 1
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
+ ('url', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
+ ('text1', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 1 Sekunde Fadeout Text 1
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', 1),
+ ('url', 'style', 'opacity', 1),
+ ('text1', 'style', 'opacity', "%.4f" % (1-(float(i)/frames))),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunden Text 2
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', 1),
+ ('url', 'style', 'opacity', 1),
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames))
+ )
+
+ # 2 Sekunden stehen bleiben
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', 1),
+ ('url', 'style', 'opacity', 1),
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', 1)
+ )
+
+def pauseFrames(params):
+ # 12 Sekunden
+
+ # 2 Sekunden Text1 stehen
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 1),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunden Fadeout Text1
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', "%.4f" % (1-easeOutCubic(i, 0, 1, frames))),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunden Fadein Text2
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames))
+ )
+
+ # 2 Sekunden Text2 stehen
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', 1)
+ )
+
+ # 2 Sekunden Fadeout Text2
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', "%.4f" % (1-easeOutCubic(i, 0, 1, frames)))
+ )
+
+ # 2 Sekunden Fadein Text1
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', "%.4f" % (easeOutCubic(i, 0, 1, frames))),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+def debug():
+ render(
+ 'intro.svg',
+ '../intro.dv',
+ introFrames,
+ {
+ '$id': 667,
+ '$title': 'OpenJUMP - Überblick, Neuigkeiten, Zusammenarbeit/Schnittstellen mit proprietärer Software',
+ '$subtitle': 'Even more news about OpenJUMP',
+ '$personnames': 'Matthias Scholz'
+ }
+ )
+
+ render(
+ 'outro.svg',
+ '../outro.dv',
+ outroFrames
+ )
+
+ render('pause.svg',
+ '../pause.dv',
+ pauseFrames
+ )
+
+def tasks(queue):
+ # iterate over all events extracted from the schedule xml-export
+ for event in events(scheduleUrl, titlemap):
+
+ # 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
+ ))
+
+ # place the pause-sequence into the queue
+ queue.put(Rendertask(
+ infile = 'pause.svg',
+ outfile = 'pause.dv',
+ sequence = pauseFrames
+ ))
+
+def ticket(ticket):
+ return Rendertask(
+ infile = 'intro.svg',
+ sequence = introFrames,
+ parameters = {
+ '$id': ticket['Fahrplan.ID'],
+ '$title': ticket.get('Fahrplan.Title'),
+ '$subtitle': ticket.get('Fahrplan.Subtitle'),
+ '$personnames': ticket.get('Fahrplan.Person_list')
+ }
+ )
+
+def deploy(ticket, task):
+ for encoder in range(1, 6):
+ print(colored("--> rsync'ing to encoder{n}".format(n=encoder), 'green'))
+ subprocess.check_call('rsync -v --bwlimit=1000 --progress -e="ssh -A voc@gw.ep14.c3voc.de ssh -A voc@encoder{n}.lan.c3voc.de" {file} :{file}'.format(n=encoder, file=task.outfile), shell=True)
diff --git a/fossgis15/artwork/by-nc-sa.svg b/fossgis15/artwork/by-nc-sa.svg
new file mode 100644
index 0000000..76fe351
--- /dev/null
+++ b/fossgis15/artwork/by-nc-sa.svg
@@ -0,0 +1,202 @@
+
+
+
diff --git a/fossgis15/artwork/by-sa.svg b/fossgis15/artwork/by-sa.svg
new file mode 100644
index 0000000..f850297
--- /dev/null
+++ b/fossgis15/artwork/by-sa.svg
@@ -0,0 +1,199 @@
+
+
+
diff --git a/fossgis15/artwork/cc-zero.svg b/fossgis15/artwork/cc-zero.svg
new file mode 100644
index 0000000..195592b
--- /dev/null
+++ b/fossgis15/artwork/cc-zero.svg
@@ -0,0 +1,98 @@
+
+
+
+
diff --git a/fossgis15/artwork/foto-soft.jpg b/fossgis15/artwork/foto-soft.jpg
new file mode 100644
index 0000000..1f556f0
Binary files /dev/null and b/fossgis15/artwork/foto-soft.jpg differ
diff --git a/fossgis15/artwork/foto.jpg b/fossgis15/artwork/foto.jpg
new file mode 100644
index 0000000..ab9d1c6
Binary files /dev/null and b/fossgis15/artwork/foto.jpg differ
diff --git a/fossgis15/artwork/intro.svg b/fossgis15/artwork/intro.svg
new file mode 100644
index 0000000..2d55037
--- /dev/null
+++ b/fossgis15/artwork/intro.svg
@@ -0,0 +1,322 @@
+
+
+
+
diff --git a/fossgis15/artwork/logo_ohne_rand-332.png b/fossgis15/artwork/logo_ohne_rand-332.png
new file mode 100644
index 0000000..24e280c
Binary files /dev/null and b/fossgis15/artwork/logo_ohne_rand-332.png differ
diff --git a/fossgis15/artwork/logo_ohne_rand.png b/fossgis15/artwork/logo_ohne_rand.png
new file mode 100644
index 0000000..b488e80
Binary files /dev/null and b/fossgis15/artwork/logo_ohne_rand.png differ
diff --git a/fossgis15/artwork/outro.svg b/fossgis15/artwork/outro.svg
new file mode 100644
index 0000000..1e648ff
--- /dev/null
+++ b/fossgis15/artwork/outro.svg
@@ -0,0 +1,233 @@
+
+
+
+
diff --git a/fossgis15/artwork/overlay-1024x576.png b/fossgis15/artwork/overlay-1024x576.png
new file mode 100644
index 0000000..1aef48a
Binary files /dev/null and b/fossgis15/artwork/overlay-1024x576.png differ
diff --git a/fossgis15/artwork/overlay-720x576.png b/fossgis15/artwork/overlay-720x576.png
new file mode 100644
index 0000000..c3f00db
Binary files /dev/null and b/fossgis15/artwork/overlay-720x576.png differ
diff --git a/fossgis15/artwork/overlay.svg b/fossgis15/artwork/overlay.svg
new file mode 100644
index 0000000..aa9e955
--- /dev/null
+++ b/fossgis15/artwork/overlay.svg
@@ -0,0 +1,65 @@
+
+
+
+
diff --git a/fossgis15/artwork/pause.svg b/fossgis15/artwork/pause.svg
new file mode 100644
index 0000000..57589bd
--- /dev/null
+++ b/fossgis15/artwork/pause.svg
@@ -0,0 +1,243 @@
+
+
+
+