correct download url

This commit is contained in:
v0tti 2018-08-29 13:38:19 +02:00
parent 36cf7ed7fa
commit c7ab8c338e

View file

@ -4,7 +4,7 @@ from renderlib import *
from easing import * from easing import *
# URL to Schedule-XML # URL to Schedule-XML
scheduleUrl = 'https://frab.das-sendezentrum.de/de/subscribe9/public/schedule.xml' scheduleUrl = 'http://www.emfcamp.org/schedule.frab'
titlemap = { titlemap = {
@ -148,9 +148,9 @@ def tasks(queue, args, id_list, skip_list):
for event in events(scheduleUrl, titlemap): for event in events(scheduleUrl, titlemap):
# skip events which will not be recorded # skip events which will not be recorded
if event['room'] not in ('Großer Sitzungssaal', 'Kleiner Sitzungssaal') or event['track'] == 'Nomnom': #if event['room'] not in ('Saal A', 'Saal B') or event['track'] == 'Nomnom':
print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id'])) # print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id']))
continue # continue
# when id_list is not empty, only render events which are in id_list # when id_list is not empty, only render events which are in id_list
if id_list and int(event['id']) not in id_list: if id_list and int(event['id']) not in id_list:
@ -160,7 +160,7 @@ def tasks(queue, args, id_list, skip_list):
# generate a task description and put them into the queue # generate a task description and put them into the queue
queue.put(Rendertask( queue.put(Rendertask(
infile = ['intro.svg'], infile = ['intro.svg'],
outfile = str(event['id']) + ".ts", outfile = str(event['id']) + ".mov",
sequence = introFrames, sequence = introFrames,
parameters = { parameters = {
'$id': event['id'], '$id': event['id'],