remove the mention of database in the log
This commit is contained in:
parent
a576869f05
commit
43d7145b18
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ def process_running_channel(database, scheduler, stream_id, stream_name, stream_
|
||||||
if stream_start == "never":
|
if stream_start == "never":
|
||||||
# Skip channels that are set to never start automatically
|
# Skip channels that are set to never start automatically
|
||||||
return
|
return
|
||||||
logger_job.warning(f'{stream_id} ({stream_name}) has been registered to the database')
|
logger_job.warning(f'{stream_id} ({stream_name}) has been registered.')
|
||||||
if stream_start == "now":
|
if stream_start == "now":
|
||||||
logger_job.warning("Stream should start now. Preparing")
|
logger_job.warning("Stream should start now. Preparing")
|
||||||
# Check if the stream_hls_url returns 200
|
# Check if the stream_hls_url returns 200
|
||||||
|
@ -99,7 +99,7 @@ def remove_channel_from_database(database, scheduler, stream_id, stream_name, st
|
||||||
global playhead
|
global playhead
|
||||||
global rechead
|
global rechead
|
||||||
if stream_id in database:
|
if stream_id in database:
|
||||||
logger_job.warning(f'{stream_id} ({stream_name}) will be removed from the database. Reason: {state.exec}')
|
logger_job.warning(f'{stream_id} ({stream_name}) will be removed. Reason: {state.exec}')
|
||||||
database.pop(stream_id)
|
database.pop(stream_id)
|
||||||
try:
|
try:
|
||||||
scheduler.remove_job(stream_id)
|
scheduler.remove_job(stream_id)
|
||||||
|
|
Loading…
Reference in a new issue