From ca2427c29a4320031b13d0781c1a8c6270506ff6 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 7 Aug 2023 17:38:51 +0100 Subject: [PATCH] lowercase identifiers --- vban_cmd/bus.py | 8 ++++---- vban_cmd/command.py | 2 +- vban_cmd/strip.py | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/vban_cmd/bus.py b/vban_cmd/bus.py index 05b75a7..3de4457 100644 --- a/vban_cmd/bus.py +++ b/vban_cmd/bus.py @@ -26,7 +26,7 @@ class Bus(IRemote): @property def identifier(self) -> str: - return f"Bus[{self.index}]" + return f"bus[{self.index}]" @property def gain(self) -> float: @@ -66,7 +66,7 @@ class BusEQ(IRemote): @property def identifier(self) -> str: - return f"Bus[{self.index}].eq" + return f"bus[{self.index}].eq" class PhysicalBus(Bus): @@ -116,7 +116,7 @@ class BusLevel(IRemote): @property def identifier(self) -> str: - return f"Bus[{self.index}]" + return f"bus[{self.index}]" @property def all(self) -> tuple: @@ -138,7 +138,7 @@ def _make_bus_mode_mixin(): """Creates a mixin of Bus Modes.""" def identifier(self) -> str: - return f"Bus[{self.index}].mode" + return f"bus[{self.index}].mode" def get(self): time.sleep(0.01) diff --git a/vban_cmd/command.py b/vban_cmd/command.py index b49c93a..70bc37c 100644 --- a/vban_cmd/command.py +++ b/vban_cmd/command.py @@ -30,7 +30,7 @@ class Command(IRemote): @property def identifier(self) -> str: - return "Command" + return "command" def set_showvbanchat(self, val: bool): self.setter("DialogShow.VBANCHAT", 1 if val else 0) diff --git a/vban_cmd/strip.py b/vban_cmd/strip.py index 73e98b9..bc85b11 100644 --- a/vban_cmd/strip.py +++ b/vban_cmd/strip.py @@ -20,7 +20,7 @@ class Strip(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}]" + return f"strip[{self.index}]" @property def limit(self) -> int: @@ -79,7 +79,7 @@ class PhysicalStrip(Strip): class StripComp(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}].comp" + return f"strip[{self.index}].comp" @property def knob(self) -> float: @@ -157,7 +157,7 @@ class StripComp(IRemote): class StripGate(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}].gate" + return f"strip[{self.index}].gate" @property def knob(self) -> float: @@ -219,7 +219,7 @@ class StripGate(IRemote): class StripDenoiser(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}].denoiser" + return f"strip[{self.index}].denoiser" @property def knob(self) -> float: @@ -233,7 +233,7 @@ class StripDenoiser(IRemote): class StripEQ(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}].eq" + return f"strip[{self.index}].eq" @property def on(self): @@ -312,7 +312,7 @@ class StripLevel(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}]" + return f"strip[{self.index}]" @property def prefader(self) -> tuple: @@ -345,7 +345,7 @@ class GainLayer(IRemote): @property def identifier(self) -> str: - return f"Strip[{self.index}]" + return f"strip[{self.index}]" @property def gain(self) -> float: