Re: [Jack-Devel] JackSession - feedback
On 05/30/2011 08:52 PM, torbenh wrote:
> On Mon, May 30, 2011 at 09:02:22AM -0400, Paul Davis wrote:
>> On Mon, May 30, 2011 at 8:56 AM, rosea.grammostola
>> <[hidden]> wrote:
>>> Hi,
>>>
>>> Two usability questions:
>>>
>>> 1) Is it possible to start a session from the command line? How?
>> you need a session manager *always* to start a session. if you have
>> one that can be used on the command line, then yes.
More specific, it is possible to start qjackctl with a certain session,
something like
qjackctl --session mysession.session
So you can integrate it in a bash session script for instance, to deal
with non-supported apps, which is the problem I think about here.
> drobilla was experimenting with a tool (or addition to jack_connect)
> which would enable converting a session to a script.
> not sure how this will work out.
>
> for pyjacksm, it would easily be possible to write a commandline client
> (not sure about the state of that one, i was there at some point, but i
> didnt do much work on pyjacksm recently. i dont know.
>
>>> 2) Is it possible to use apps without jacksession support in a JackSession?
>> depends on the session manager, but i believe that torben's python
>> proof-of-concept will do a very basic "save state" for clients that
>> have no session callback. it can certainly determine all the
>> connections. i'm not sure how it can find out the command to start the
>> client.
Restoring the connections would be a good thing and it would be nice if
the apps can be started.
> it cant find out the command. but you can configure the command in the
> config file.
> however, the apps wont save their state, so this only works for simple
> and stateless clients.
Could you be a bit more specific? E.g. what can I do at the moment or in
the near future, with non supported apps in a Jacksession (using
qjackctl or pyjacksm). Could you give an example?
Regards,
\r
1306784305.26235_0.ltw:2,a <4DE3F225.7000506 at gmail dot com>