Compare commits

..

No commits in common. "6e017b4afc492d6ec3f0066a2d2199a306640c32" and "a3473d59223d1c61a7da775bd185e9c57bcc80d8" have entirely different histories.

4 changed files with 6 additions and 14 deletions

View File

@ -10,13 +10,11 @@ def main():
for send in mixer.strip[0].send: for send in mixer.strip[0].send:
send.level = -22.8 send.level = -22.8
mixer.strip[15].send[0].level = -16.5 mixer.strip[15].send[0].level = -16.3
print(mixer.strip[15].send[0].level) print(mixer.strip[15].send[0].level)
mixer.auxreturn.send[0].level = -15.3
mixer.auxreturn.send[0].level = -15.5
print(mixer.auxreturn.send[0].level) print(mixer.auxreturn.send[0].level)
mixer.fxreturn[0].send[0].level = -14.3
mixer.fxreturn[0].send[0].level = -14.5
print(mixer.fxreturn[0].send[0].level) print(mixer.fxreturn[0].send[0].level)

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "xair-api" name = "xair-api"
version = "2.2.4a0" version = "2.2.3"
description = "Remote control Behringer X-Air | Midas MR mixers through OSC" description = "Remote control Behringer X-Air | Midas MR mixers through OSC"
authors = ["onyx-and-iris <code@onyxandiris.online>"] authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT" license = "MIT"
@ -24,6 +24,5 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts] [tool.poetry.scripts]
obs = "scripts:ex_obs" obs = "scripts:ex_obs"
sends = "scripts:ex_sends"
xair = "scripts:test_xair" xair = "scripts:test_xair"
x32 = "scripts:test_x32" x32 = "scripts:test_x32"

View File

@ -8,11 +8,6 @@ def ex_obs():
subprocess.run([sys.executable, str(path)]) subprocess.run([sys.executable, str(path)])
def ex_sends():
path = Path.cwd() / "examples" / "sends" / "."
subprocess.run([sys.executable, str(path)])
def test_xair(): def test_xair():
path = Path.cwd() / "tests" / "xair" path = Path.cwd() / "tests" / "xair"
subprocess.run(["pytest", "-v", str(path)]) subprocess.run(["pytest", "-v", str(path)])

View File

@ -630,9 +630,9 @@ class Send:
self.i = i + 1 self.i = i + 1
@classmethod @classmethod
def make(cls, _cls, i, remote, index=None): def make(cls, _cls, remote, i, index=None):
SEND_cls = type("Send", (cls, _cls), {}) SEND_cls = type("Send", (cls, _cls), {})
return SEND_cls(i, remote, index) return SEND_cls(remote, i, index)
@property @property
def address(self) -> str: def address(self) -> str: