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():
|
2025-01-15 11:10:45 +00:00
|
|
|
kind_id = 'XR18'
|
|
|
|
ip = '<ip address>'
|
2022-11-07 17:27:41 +00:00
|
|
|
|
2022-08-07 23:55:51 +01:00
|
|
|
with xair_api.connect(kind_id, ip=ip) as mixer:
|
2025-01-15 11:10:45 +00: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(
|
2025-01-15 11:10:45 +00:00
|
|
|
f'strip 09 ({mixer.strip[8].config.name}) has been set to {mixer.strip[8].config.on}'
|
2022-05-01 03:46:44 +01:00
|
|
|
)
|
|
|
|
|
2022-04-05 20:05:55 +01:00
|
|
|
|
2025-01-15 11:10:45 +00:00
|
|
|
if __name__ == '__main__':
|
2022-04-05 20:05:55 +01:00
|
|
|
main()
|