Fix old projects after renderlib split

This commit is contained in:
Jannik Beyerstedt 2024-02-07 20:09:24 +01:00
parent 5fb2e1bbf2
commit 945f7c1cd6
126 changed files with 3379 additions and 26 deletions

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from itertools import zip_longest
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import svg.path, random
from lxml import etree
from renderlib import *
from schedulelib import *
def introFrames(p):
frames = 0

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
def pyconFrames(params):
frames = 500

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,7 +3,9 @@
from lxml import etree
from slugify import slugify
from renderlib import *
from schedulelib import *
from renderlib import *
from schedulelib import *
from easing import *

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
def introFrames(p):

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://annaberg6.de/stuff/camp99/schedule.xml'

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://www.fossgis.de/konferenz/2014/programm/schedule.de.xml'

View file

@ -2,6 +2,7 @@
import random, sys
from renderlib import *
from schedulelib import *
from easing import *
from colour import Color

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
scheduleUrl = ""

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
scheduleUrl = "https://berlin.ccc.de/datengarten/index.xml"

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -4,6 +4,7 @@ import svg.path, random
from lxml import etree
from slugify import slugify
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'https://www.datenspuren.de/2014/fahrplan/schedule.xml'

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
import math
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'https://eh15.easterhegg.eu/frab/en/eh15/public/schedule.xml'

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path
import random
@ -277,7 +278,7 @@ def tasks(queue, args, idlist, skiplist):
if event['id'] == 8496:
eventTitle = 'Know your tools - Im firing my laser! -'
# generate a task description and put them into the queue
queue.put(Rendertask(
infile='intro.svg',

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML
@ -31,7 +32,7 @@ def introFrames(p):
('text', 'style', 'opacity', easeLinear(i, 1, 0, frames)),
('bg', 'style', 'opacity', easeLinear(i, 1, 0, frames)),
)
frames = int(fps/2)
for i in range(0, frames):
yield (
@ -40,7 +41,7 @@ def introFrames(p):
('text', 'style', 'opacity', 0),
('bg', 'style', 'opacity',0),
)
# Show Sponsor
frames = 5*fps
for i in range(0, frames):

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML
@ -15,13 +16,13 @@ def introFrames(p):
nr = p['$id'];
# 1 Sekunde nix
# 1 Sekunde nix
frames = 1*fps
for i in range(0, frames):
givenFrame += 1
yield (
('bg', 'attr', '{http://www.w3.org/1999/xlink}href', "given-frames/frame%04d.png" % (givenFrame)),
('layer1', 'style', 'opacity', "%.4f" % 0), # nix
('layer1', 'style', 'opacity', "%.4f" % 0), # nix
# ('text', 'attr', 'transform', 'translate(%.4f, 0)' % easeOutQuad(i, move, -move, frames)),
)
@ -44,7 +45,7 @@ def introFrames(p):
('layer1', 'style', 'opacity', "%.4f" %1),
# ('text', 'attr', 'transform', 'translate(%.4f, 0)' % easeOutQuad(i, move, -move, frames)),
)
# 1 Sekunde Text Fadeout
frames = 1*fps
for i in range(0, frames):
@ -54,7 +55,7 @@ def introFrames(p):
('layer1', 'style', 'opacity', "%.4f" % easeInQuad(i, 1, -1, frames)),
# ('text', 'attr', 'transform', 'translate(%.4f, 0)' % easeOutQuad(i, move, -move, frames)),
)
# Sponsors
frames = 187
for i in range(0, frames):

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
import math
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -2,6 +2,7 @@
# vim: tabstop=4 shiftwidth=4 expandtab
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path
@ -160,7 +161,7 @@ def pauseFrames(params):
('text1', 'style', 'opacity', 0),
('text2', 'style', 'opacity', 0),
)
def debug():
render('intro.svg',
'../intro.ts',

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://www.fossgis.de/konferenz/2014/programm/schedule.de.xml'

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://www.fossgis.de/konferenz/2015/programm/schedule.de.xml'

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import svg.path
from lxml import etree
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://programm.froscon.de/2014/schedule.xml'

View file

@ -3,6 +3,7 @@
import svg.path
from lxml import etree
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
import svg.path

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://bl0rg.net/~andi/gpn15-fahrplan/schedule.xml'

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML
@ -100,7 +101,7 @@ def pauseFrames(p):
yield (
('onhold', 'style', 'opacity', "%.4f" % easeLinear(i, 1, -0.8, frames-1)),
)
frames = int(1.5*fps)
for i in range(0, frames):
yield (
@ -116,7 +117,7 @@ def outroFrames(p):
scale = easeLinear(i, 1.3, 0.3 , frames-1)
opacity = 0
if i > int(frames*0.7):
opacity = easeLinear(int(i-frames*0.7), 0, 1, int(frames-frames*0.7)-1)
opacity = easeLinear(int(i-frames*0.7), 0, 1, int(frames-frames*0.7)-1)
yield (
('guadeclogoscale', 'attr', 'transform', 'scale({scale},{scale})'.format(scale=scale),),
('fadetoblack', 'style', 'opacity', '{opac}'.format(opac=opacity),),
@ -129,7 +130,7 @@ def outroFrames(p):
('fadetoblack', 'style', 'opacity', "1"),
)
def debug():
render(
'intro.svg',
@ -162,7 +163,7 @@ def tasks(queue, args):
if not str(event['id']) in args:
continue
if len(event['title']) < 71:
if len(event['title']) < 71:
params = {
'$title': event['title'],
'$longtitle': '',

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque
@ -184,7 +185,7 @@ def debug():
'../insert_Hanno.mkv',
insertFrames,
{
'$TITLE': "Hanno",
'$TITLE': "Hanno",
'$SUBTITLE': "Jugend hackt Hamburg",
}
)
@ -193,7 +194,7 @@ def debug():
'../insert_Julia.mkv',
insertFrames,
{
'$TITLE': "Julia",
'$TITLE': "Julia",
'$SUBTITLE': "Moderatorin und Mentorin",
}
)
@ -240,7 +241,7 @@ def tasks(queue, args, idlist, skiplist):
infile = 'insert.svg',
outfile = "insert_{}.mkv".format(projectname.replace("/", "_")),
parameters = {
'$TITLE': event['title'],
'$TITLE': event['title'],
'$SUBTITLE': event['personnames'],
}
).animated(insertFrames))

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 166 KiB

View file

@ -0,0 +1,42 @@
<?xml version='1.0' encoding='utf-8' ?>
<schedule>
<generator name="manual" />
<conference>
<acronym>jugend-hackt-hamburg-2023</acronym>
<title>Jugend hackt Hamburg 2023</title>
<start>2023-10-29</start>
<end>2023-10-29</end>
<days>1</days>
<timeslot_duration>00:05</timeslot_duration>
<time_zone_name>Europe/Berlin</time_zone_name>
</conference>
<day index='1' date='2023-10-29' start='2023-10-29T00:00:00+02:00' end='2023-10-29T23:59:00+02:00'>
<room name='Betahaus'>
<event guid='46806780-36f2-413d-8088-90f4ad0173f2' id='101'>
<date>2023-10-29T13:00:00+02:00</date>
<start>13:00</start>
<duration>01:00</duration>
<room>Betahaus</room>
<slug>jugend-hackt-hamburg-2023-101-abschluss</slug>
<recording>
<license></license>
<optout>false</optout>
</recording>
<title>Abschlusspräsentation</title>
<subtitle>Teilnehmende von Jugend hackt Hamburg 2023</subtitle>
<track></track>
<type>Talk</type>
<language>de</language>
<abstract>Alle Projekte werden auf der großen Bühne vorgestellt.</abstract>
<description></description>
<logo></logo>
<persons>
<person id='1'>Hanno S.</person>
<person id='2'>Rike</person>
</persons>
<links></links>
<attachments></attachments>
</event>
</room>
</day>
</schedule>

1558
jugendhackt/outro.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 130 KiB

View file

@ -2,6 +2,7 @@
from renderlib import *
from schedulelib import *
from easing import *
from collections import deque

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
from lxml import etree
@ -62,7 +63,7 @@ def tasks(queue, args):
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'):
if event['room'] not in ('Seminar room', 'Soundlab', 'Mainhall'):
print("skipping room %s (%s)" % (event['room'], event['title']))
continue

View file

@ -3,6 +3,7 @@
import svg.path, random
from lxml import etree
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'http://fahrplan.mrmcd.net/schedule.xml'

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -2,6 +2,7 @@
import subprocess
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
import math

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -1,6 +1,7 @@
#!/usr/bin/python3
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -2,6 +2,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'https://frab.sendegate.de/de/ppw15b/public/schedule.xml'

View file

@ -1,6 +1,7 @@
#!/usr/bin/python
from renderlib import *
from schedulelib import *
from easing import *
# URL to Schedule-XML

View file

@ -2,13 +2,14 @@
import subprocess
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'https://ep2014.europython.eu/schedule.frab.xml'
# For (really) too long titles
titlemap = {
}
def pyconFrames():

View file

@ -3,13 +3,14 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'file://' + os.path.join(os.path.dirname(os.path.abspath(__file__)), 'schedule.xml')
# For (really) too long titles
titlemap = {
}
def introFrames():

View file

@ -3,6 +3,7 @@
import subprocess
import os.path
from renderlib import *
from schedulelib import *
# URL to Schedule-XML
scheduleUrl = 'https://raw.githubusercontent.com/pydataberlin/pydataberlin.github.io/master/utils/pydata_berlin_voc.xml'

Some files were not shown because too many files have changed in this diff Show more