update prio
This commit is contained in:
parent
967b2a4166
commit
2426c898d2
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ def stream_exec(stream_name, stream_prio, stream_hls_url):
|
||||||
logger_job.info(f'Hello {stream_name}!')
|
logger_job.info(f'Hello {stream_name}!')
|
||||||
if stream_prio > prio:
|
if stream_prio > prio:
|
||||||
logger_job.info(f'Source priority is now set to: {stream_prio}')
|
logger_job.info(f'Source priority is now set to: {stream_prio}')
|
||||||
|
prio = stream_prio
|
||||||
update_head(stream_hls_url)
|
update_head(stream_hls_url)
|
||||||
elif stream_prio == prio:
|
elif stream_prio == prio:
|
||||||
update_head(stream_hls_url)
|
update_head(stream_hls_url)
|
||||||
|
|
Loading…
Reference in a new issue