From 97e345d88883bf2f96fa4574457fd473ee02c7be Mon Sep 17 00:00:00 2001 From: deflax Date: Tue, 12 Oct 2021 17:15:12 +0000 Subject: [PATCH] remove old code --- frontend/app/frontend.py | 2 +- frontend/app/templates/default/main.html.j2 | 9 +-------- frontend/app/zomstream.py | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/frontend/app/frontend.py b/frontend/app/frontend.py index 00c52a3..4fb57ff 100644 --- a/frontend/app/frontend.py +++ b/frontend/app/frontend.py @@ -26,8 +26,8 @@ def show_player(appname, hlsindex): playerTemplate = '%s/player.html.j2' % zomstream.configuration['template_folder'] page = flask.render_template( playerTemplate, - hlsindex=hlsindex, appname=appname, + hlsindex=hlsindex, configuration=zomstream.configuration ) return page diff --git a/frontend/app/templates/default/main.html.j2 b/frontend/app/templates/default/main.html.j2 index 7f723a7..7144f75 100644 --- a/frontend/app/templates/default/main.html.j2 +++ b/frontend/app/templates/default/main.html.j2 @@ -27,26 +27,19 @@ - RTMP substream {{ item[2] }} + RTMP substream }} rtmp://{{ configuration["rtmp_base"] }}/{{ item[0] }}/{{ item[2] }}
RTMP
HLS m3u8 {{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/hls/{{ item[1] }}/index.m3u8 -
HLS.js
{% endfor %} - - - ▷ Web Player - -