mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-24 22:00:57 +00:00
68b1907147
remove redundant import
14 lines
343 B
Python
14 lines
343 B
Python
import mair
|
|
|
|
def main():
|
|
with mair.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 = '<ip address>'
|
|
|
|
main()
|