More work on finished stream handling

This commit is contained in:
Simon 2021-03-26 10:58:20 +00:00
parent 63a124dcde
commit 3e9dd4e357

View File

@ -384,7 +384,9 @@ def stream_trimmer_loop():
#if stream already marked as finished, just remove it
if '_fin' in systems[system].STATUS[stream_id] and systems[system].STATUS[stream_id]['LAST'] < _now - 5:
logger.debug('(%s) *FINISHED STREAM* STREAM ID: %s'system, int_id(stream_id))
fin_list.append(stream_id)
continue
try:
if systems[system].STATUS[stream_id]['LAST'] < _now - 5: