<div dir="auto">I use jack-matchmaker which I believe is based on one of the above mentioned or something similar. It can be started before or after and will automatically re/connect any connections and check any newly created ports against the argument's given. You can also just assign one port and it will make all possible connections , or multiple specific connections per pair of arguments if you use regular expressions well</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 29, 2019, 02:02 Peter P. <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Paul, Elijah, everyone,<br>
<br>
thanks for your suggestions! I went with jack_plumbing.<br>
Can anyone confirm that jack_plumbing will need to be started before the<br>
applications which it is about to manage? It does not manage connections<br>
already made? I am on the lookout for a way to start jack, jack_plumbing<br>
and a jack-aware application on the command line and restart each of<br>
them should they crash/die and restore connections no matter in which<br>
sequence the three come up again. It seems jack_plumbing needs to be<br>
started after jackd but before applications it is supposed to manage.<br>
I am afraid I have to write a script using jack_connect then.<br>
<br>
For handling of jack connections on headless machines/command line, I am<br>
looking for the best way to make connections once an application has<br>
been started or restarted. It would be great if applications could<br>
generally honor environment variables like<br>
        $ JACK_PORTS=system:playback_1 mediaplayerapp<br>
but I suppose that implementation is up to the application programmers.<br>
<br>
* Elijah Abdul Rahman <<a href="mailto:elijahjuanye@gmail.com" target="_blank" rel="noreferrer">elijahjuanye@gmail.com</a>> [2019-01-29 06:19]:<br>
> An application I've been using is called aj-snapshot. In my script I use<br>
> where I start jack I also run aj-snapshot. Whenever an application or<br>
> device is connected if it's had previous connections before. My connections<br>
> get re-connected.<br>
Thanks Elijah, will look into aj-snapshot in comparison to jack_plumbing<br>
as well.<br>
<br>
cheers, P<br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank" rel="noreferrer">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="https://lists.linuxaudio.org/listinfo/linux-audio-user" rel="noreferrer noreferrer" target="_blank">https://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</blockquote></div>