From 0515b0980e386863009fe997e943501f06e3b813 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Tue, 8 Nov 2022 22:22:04 +0000 Subject: [PATCH] use mute property --- __main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__main__.py b/__main__.py index 30c9668..7f7d69e 100644 --- a/__main__.py +++ b/__main__.py @@ -40,10 +40,10 @@ class Observer: def on_current_program_scene_changed(self, data): def ftoggle(i): - self._mixer.strip[i - 1].mix.on = not self._mixer.strip[i - 1].mix.on + self._mixer.strip[i - 1].mute = not self._mixer.strip[i - 1].mute def fset(i, is_muted): - self._mixer.strip[i - 1].mix.on = is_muted + self._mixer.strip[i - 1].mute = is_muted scene = data.scene_name print(f"Switched to scene {scene}")