summaryrefslogtreecommitdiff
path: root/tascam_fw_console/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'tascam_fw_console/cli.py')
-rw-r--r--tascam_fw_console/cli.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tascam_fw_console/cli.py b/tascam_fw_console/cli.py
index 2319ad9..0442ebc 100644
--- a/tascam_fw_console/cli.py
+++ b/tascam_fw_console/cli.py
@@ -26,7 +26,8 @@ Options:
-h --help Show this screen.
-l --list List connected Tascam FW console units
-c CARD_NUM --card=CARD_NUM Number of the ALSA sound card
- -d GUID --device=GUID GUID of the FW unit
+ -g GUID --guid=GUID GUID of the FW unit
+ -d DEVICE --device=DEVICE Path to device under /dev
-I IP --listen-ip=IP IP to listen on [default: 127.0.0.1]
-P PORT --listen-port=PORT Port to listen on [default: 8100]
-i IP --ip=IP IP to communicate to [default: 127.0.0.1]
@@ -48,7 +49,9 @@ def main():
fullpath, guid))
exit()
- console = Console(card_id=args['--card'], guid=args['--device'])
+ console = Console(card_id=args['--card'],
+ guid=args['--guid'],
+ device=args['--device'])
osc.init_client(args['--ip'], int(args['--port']))
osc.init_server(args['--listen-ip'], int(args['--listen-port']), console)