This commit is contained in:
Simon 2020-10-12 16:17:36 +01:00
parent 57d80fe621
commit db5ea4f937

View File

@ -356,6 +356,7 @@ def sendSpeech(self,speech):
sleep(0.058) sleep(0.058)
_stream_id = pkt[16:20] _stream_id = pkt[16:20]
_pkt_time = time() _pkt_time = time()
_slot = systems[system].STATUS[2]
if _stream_id not in systems[system].STATUS: if _stream_id not in systems[system].STATUS:
systems[system].STATUS[_stream_id] = { systems[system].STATUS[_stream_id] = {
'START': _pkt_time, 'START': _pkt_time,
@ -401,6 +402,7 @@ def disconnectedVoice(system):
sleep(0.058) sleep(0.058)
_stream_id = pkt[16:20] _stream_id = pkt[16:20]
_pkt_time = time() _pkt_time = time()
_slot = systems[system].STATUS[2]
if _stream_id not in systems[system].STATUS: if _stream_id not in systems[system].STATUS:
systems[system].STATUS[_stream_id] = { systems[system].STATUS[_stream_id] = {
'START': _pkt_time, 'START': _pkt_time,
@ -463,6 +465,7 @@ def ident():
_stream_id = pkt[16:20] _stream_id = pkt[16:20]
_pkt_time = time() _pkt_time = time()
_slot = systems[system].STATUS[2]
if _stream_id not in systems[system].STATUS: if _stream_id not in systems[system].STATUS:
systems[system].STATUS[_stream_id] = { systems[system].STATUS[_stream_id] = {
'START': _pkt_time, 'START': _pkt_time,