#2 aj-snapshot can't connect ports exported by a2jmidid

closed-works-for-me
nobody
None
5
2011-08-03
2011-08-03
Jeremy Jongepier
No

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

Discussion

  • 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

     
    • status: open --> closed-works-for-me