Debugging for stream problems

This commit is contained in:
Simon 2021-01-18 11:09:05 +00:00
parent 8f5bdceec8
commit e6edd4c16b

View File

@ -411,7 +411,10 @@ def stream_trimmer_loop():
remove_list.append(stream_id) remove_list.append(stream_id)
except: except:
logger.debug("Keyerror - stream trimmer") logger.debug("Keyerror - stream trimmer")
print(systems[system].STATUS[stream_id])
systems[system].STATUS[stream_id]['LAST'] = _now
continue continue
for stream_id in remove_list: for stream_id in remove_list:
if stream_id in systems[system].STATUS: if stream_id in systems[system].STATUS:
_stream = systems[system].STATUS[stream_id] _stream = systems[system].STATUS[stream_id]