2022-08-07 23:55:51 +01:00
|
|
|
import xair_api
|
2022-04-05 20:05:55 +01:00
|
|
|
|
2022-05-01 03:46:44 +01:00
|
|
|
|
2022-04-05 20:05:55 +01:00
|
|
|
def main():
|
2022-11-07 17:27:41 +00:00
|
|
|
kind_id = "XR18"
|
|
|
|
ip = "<ip address>"
|
|
|
|
|
2022-08-07 23:55:51 +01:00
|
|
|
with xair_api.connect(kind_id, ip=ip) as mixer:
|
2022-05-01 03:46:44 +01:00
|
|
|
mixer.strip[8].config.name = "sm7b"
|
2022-04-05 20:05:55 +01:00
|
|
|
mixer.strip[8].config.on = True
|
2022-05-01 03:46:44 +01:00
|
|
|
print(
|
|
|
|
f"strip 09 ({mixer.strip[8].config.name}) has been set to {mixer.strip[8].config.on}"
|
|
|
|
)
|
|
|
|
|
2022-04-05 20:05:55 +01:00
|
|
|
|
2022-05-01 03:46:44 +01:00
|
|
|
if __name__ == "__main__":
|
2022-04-05 20:05:55 +01:00
|
|
|
main()
|