From 76698c8cfa31e5ba69a212878dcf75f8abe982f4 Mon Sep 17 00:00:00 2001 From: Bjoern Date: Mon, 1 Jul 2019 20:53:58 +0200 Subject: [PATCH] fusion19: add pause.svg to avoid warning message, fix schedule url and room name --- fusion19/__init__.py | 7 +++++-- fusion19/artwork/pause.svg | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 120000 fusion19/artwork/pause.svg diff --git a/fusion19/__init__.py b/fusion19/__init__.py index f0c12cb..f7b09ab 100644 --- a/fusion19/__init__.py +++ b/fusion19/__init__.py @@ -4,7 +4,7 @@ from renderlib import * from easing import * # URL to Schedule-XML -scheduleUrl = 'https://gist.githubusercontent.com/derpeter/0c2995117d54ecf701542e316dba5f5f/raw/09edb2395405e1421c8515da3d81b61a45dab981/proyektortest.xml' +scheduleUrl = 'http://157.230.111.117/fusion19.xml' def bounce(i, min, max, frames): @@ -52,6 +52,9 @@ def outroFrames(p): yield [] def pauseFrames(args): + pass + +def pauseFrames_disable(args): #fade in pause frames = 4*fps for i in range(0, frames): @@ -97,7 +100,7 @@ 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 ('content'): + if event['room'] not in ('Content'): print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id'])) continue if not (idlist == []): diff --git a/fusion19/artwork/pause.svg b/fusion19/artwork/pause.svg new file mode 120000 index 0000000..b7b897a --- /dev/null +++ b/fusion19/artwork/pause.svg @@ -0,0 +1 @@ +../../voc/artwork/pause.svg \ No newline at end of file