From 04981f8ecbc3fc909e2fdeed2c899d677e8e722e Mon Sep 17 00:00:00 2001 From: Tristan Rowley Date: Sun, 8 Mar 2020 23:24:07 +0000 Subject: [PATCH] added a TODO --- plugins/SoundReactPlugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/SoundReactPlugin.py b/plugins/SoundReactPlugin.py index b58cf15..6c1c151 100644 --- a/plugins/SoundReactPlugin.py +++ b/plugins/SoundReactPlugin.py @@ -153,6 +153,7 @@ class SoundReactPlugin(ActionsPlugin,SequencePlugin,DisplayPlugin): if meandiff>=self.config['energy'].get('triggerthreshold',0.15): self.energy_history = [] print ("\n>>>>>>Triggering dynamic change for meandiff %s?\n" % meandiff) + # TODO: add configurable triggering - eg trigger next preset, next shader, next video.. #self.pc.actions.call_method_name("load_slot_%s_into_next_player"%randint(0,9)) self.energy_history.append(diff) #self.values.get(sourcename,0.0)) #print("logging %s" % diff) #self.values.get(sourcename,0.0))