add poetry script sends

bump to 2.2.4a0
This commit is contained in:
onyx-and-iris 2024-02-08 21:38:30 +00:00
parent 85664c8465
commit 6e017b4afc
3 changed files with 12 additions and 4 deletions

View File

@ -10,11 +10,13 @@ def main():
for send in mixer.strip[0].send:
send.level = -22.8
mixer.strip[15].send[0].level = -16.3
mixer.strip[15].send[0].level = -16.5
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)
mixer.fxreturn[0].send[0].level = -14.3
mixer.fxreturn[0].send[0].level = -14.5
print(mixer.fxreturn[0].send[0].level)

View File

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

View File

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