aj-snapshot can't connect ports exported by a2jmidid
Brought to you by:
lievenmoors
Hello,
aj-snapshot seems to be unable to restore connections to and from ports created by a2jmidid as those ports contain a variable element in the form of an ALSA MIDI portnumber between square brackets:
Failed to connect port 'a2j:seq24 [131] (capture): [4] seq24 4' to 'yoshimi:midi in' !
The part after a2j:seq24, so the [131] part, is subject to change if the number of ALSA MIDI clients changes and aj-snapshot currently doesn't have a mechanism to handle that so it simply fails to connect the port if the ALSA MIDI portnumber has changed. Of course I could use something like a2jmidi_bridge but it would be nice if aj-snapshot would also be able to deal with those variable portnames. Thanks in advance!
Best,
Jeremy
Anonymous
Well, the a2jmidid dev added a new option to a2jmidid (-u uniqueness) that disables adding the ALSA client ID to the exported port names. So basically this solves my issue.
Best,
Jeremy
Thanks a lot! I had the same problem