mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-16 01:50:58 +00:00
f8c6659fd8
now packaged with poetry and added to pypi using tomllib, requires python 3.11 readme, changelog updated to reflect changes major version bump
18 lines
374 B
Python
18 lines
374 B
Python
import xair_api
|
|
|
|
|
|
def main():
|
|
with xair_api.connect(kind_id, ip=ip) as mixer:
|
|
mixer.strip[8].config.name = "sm7b"
|
|
mixer.strip[8].config.on = True
|
|
print(
|
|
f"strip 09 ({mixer.strip[8].config.name}) has been set to {mixer.strip[8].config.on}"
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
kind_id = "MR18"
|
|
ip = "mixer.local"
|
|
|
|
main()
|