lowercase identifiers

This commit is contained in:
onyx-and-iris 2023-08-07 17:38:51 +01:00
parent ebacdcf82a
commit ca2427c29a
3 changed files with 12 additions and 12 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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: