diff --git a/play_group.py b/play_group.py index dcd3e77..6b34765 100755 --- a/play_group.py +++ b/play_group.py @@ -77,7 +77,7 @@ class playIPSC(IPSC): return ''' - 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 not in trigger_groups_1) or (_ts == 1 and _dst_group not 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))