jack_control: new command - "show"

show command behaves a bit like last parts of (current) adevices.sh script,
but chains the involved commands status2, dg, dp and ep internally.

The adevices.sh script uses status command and does not display
JACK settings unless jack is started. The show command uses
status2, so the settings will be displayed always.
This commit is contained in:
Nedko Arnaudov 2023-07-09 17:28:27 +03:00
parent 757bfbb903
commit 1a23ec5ae9
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,8 @@ def parse_argv(argv):
print("started")
else:
print("stopped")
elif arg == "show":
parse_argv(["status2", "dg", "dp", "ep"])
elif arg == 'start':
print("--- start")
control_iface.StartServer()