mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Catchups without output
This commit is contained in:
parent
a3b7919c55
commit
9cbf92d939
4 changed files with 2 additions and 6 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 46895ee502b1873ca74f5ca274d1bbf81c035460
|
||||
Subproject commit 1a9515a0e359ab708d966dee3a0fb8733c6ba4b9
|
|
@ -73,8 +73,6 @@ class ServiceView(FlaskView):
|
|||
oid=stream.output.urls[0].id)
|
||||
elif stream_type == constants.StreamType.CATCHUP:
|
||||
stream = server.make_catchup_stream()
|
||||
stream.output.urls[0] = stream.generate_http_link(constants.HlsType.HLS_PULL,
|
||||
oid=stream.output.urls[0].id)
|
||||
else:
|
||||
stream = server.make_test_life_stream()
|
||||
|
||||
|
|
|
@ -269,7 +269,7 @@ class StreamView(FlaskView):
|
|||
if server:
|
||||
stream = server.make_catchup_stream()
|
||||
form = CatchupStreamForm(obj=stream)
|
||||
if request.method == 'POST' and form.validate_on_submit():
|
||||
if request.method == 'POST': # FIXME form.validate_on_submit()
|
||||
new_entry = form.update_entry(stream)
|
||||
new_entry.save()
|
||||
server.add_stream(new_entry)
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
<br>
|
||||
{{ render_bootstrap_form(form.input) }}
|
||||
<br>
|
||||
{{ render_bootstrap_form(form.output) }}
|
||||
<br>
|
||||
{{ render_bootstrap_form(form.timeshift_chunk_duration) }}
|
||||
<br>
|
||||
{{ render_bootstrap_form(form.timeshift_chunk_life_time) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue