Add a function to return a list of input sequencer ports like the output of aconnect -i and a list of output sequencer ports like aconnect -o. Each element of the lists should include client number, name, and a list with port numbers and names, for example:
[(14, 'Midi Through', [(0, 'Midi Through Port-0')]
This will allow a program using alsaseq to search the client and port names and know the corresponding client and port numbers to connect to and disconnect from.
Add a function to return a list of input sequencer ports like the output of
aconnect -i
and a list of output sequencer ports likeaconnect -o
. Each element of the lists should include client number, name, and a list with port numbers and names, for example:This will allow a program using alsaseq to search the client and port names and know the corresponding client and port numbers to connect to and disconnect from.