testing
This commit is contained in:
parent
db489526b1
commit
342f5ac079
@ -68,12 +68,17 @@ class playIPSC(IPSC):
|
|||||||
#
|
#
|
||||||
def group_voice(self, _network, _src_sub, _dst_group, _ts, _end, _peerid, _data):
|
def group_voice(self, _network, _src_sub, _dst_group, _ts, _end, _peerid, _data):
|
||||||
if _end:
|
if _end:
|
||||||
|
'''
|
||||||
if trigger == False:
|
if trigger == False:
|
||||||
if (_ts == 0 and _dst_group not in trigger_groups_1) or (_ts == 1 and _dst_group not in trigger_groups_2):
|
if (_ts == 0 and _dst_group not in trigger_groups_1) or (_ts == 1 and _dst_group not in trigger_groups_2):
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
if (_ts == 0 and _dst_group in trigger_groups_1) or (_ts == 1 and _dst_group in trigger_groups_2):
|
if (_ts == 0 and _dst_group in trigger_groups_1) or (_ts == 1 and _dst_group in trigger_groups_2):
|
||||||
return
|
return
|
||||||
|
'''
|
||||||
|
|
||||||
|
if (_ts == 0 and _dst_group in trigger_groups_1) or (_ts == 1 and _dst_group in trigger_groups_2):
|
||||||
|
return
|
||||||
|
|
||||||
logger.info('(Event ID: %s) Playback triggered from TS %s, TGID %s', self.event_id, (_ts +1), int_id(_dst_group))
|
logger.info('(Event ID: %s) Playback triggered from TS %s, TGID %s', self.event_id, (_ts +1), int_id(_dst_group))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user