aboutsummaryrefslogtreecommitdiff
path: root/configs/download.sh
diff options
context:
space:
mode:
authorMaZderMind2015-11-08 15:15:53 +0100
committerMaZderMind2015-11-08 15:15:53 +0100
commita0b2129479ba10561811847c0651df8b55c8a6ba (patch)
tree2177365d737a24453783107697d19e712330f66d /configs/download.sh
parentefe1f83a7cc419df700dfe36ef11da20607d8eae (diff)
Support an All-Conference-Closed Screen and mutliple Schedules & Relive-URLs
Diffstat (limited to 'configs/download.sh')
-rwxr-xr-xconfigs/download.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/configs/download.sh b/configs/download.sh
index 8808ff0..c2a2b3e 100755
--- a/configs/download.sh
+++ b/configs/download.sh
@@ -1,10 +1,14 @@
#!/bin/sh
-# fahrplan
-wget --no-check-certificate -q "http://events.ccc.de/congress/2014/Fahrplan/schedule.xml" -O /tmp/schedule.xml && mv /tmp/schedule.xml schedule.xml
-
-# vod json
-wget -q "http://cdn.c3voc.de/releases/relive/index.json" -O /tmp/vod.json && mv /tmp/vod.json vod.json
+# conferences
+wd=`pwd`
+for d in conferences/*; do
+ if [ -x $d/download.sh ]; then
+ cd $d
+ ./download.sh
+ cd $wd
+ fi
+done
# eventkalender upcoming
wget -q --no-check-certificate "https://c3voc.de/eventkalender/events.json?filter=upcoming&streaming=yes" -O /tmp/upcoming.json && mv /tmp/upcoming.json upcoming.json