From 62d01d6d99d2119b2603b031cea8ae8307444d2e Mon Sep 17 00:00:00 2001 From: yomguy Date: Sat, 14 Jul 2012 00:46:18 +0200 Subject: [PATCH] fix video url --- .../templates/teleforma/course_conference.html | 13 ++++++++----- teleforma/views.py | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/teleforma/templates/teleforma/course_conference.html b/teleforma/templates/teleforma/course_conference.html index 50ea0cbe..02f5a3ea 100644 --- a/teleforma/templates/teleforma/course_conference.html +++ b/teleforma/templates/teleforma/course_conference.html @@ -4,11 +4,10 @@ {% load i18n %} {% block module-action %} -{% if "telecaster"|installed %} -{% if 'telecaster'|installed %} +{% get_telecaster as telecaster %} +{% if telecaster %} -{% endif %} +{% get_telecaster as telecaster %} +{% if telecaster %} diff --git a/teleforma/views.py b/teleforma/views.py index 8686c486..804e3fea 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -387,7 +387,8 @@ class ConferenceRecordView(FormView): type = station['type'] conf = station['conf'] port = station['port'] - server, c= StreamingServer.objects.get_or_create(host=status.ip, port=port) + server_type = station['server_type'] + server, c = StreamingServer.objects.get_or_create(host=status.ip, port=port, type=server_type) station = Station(conference=self.conference, public_id=uuid) station.setup(conf) station.start() -- 2.39.5