I've made a python session manager for myself.
It is very basic and maybe useful for starters.
It uses the "jack_snapshot" program and the "aconnect" utility.
You can save and load different sessions by name (jack and alsa connections and programs to start).
You can not (for now) save the programs that are running in a session.
You need to put them manually in the apps.txt ( any program you want to start ).
I do not know if it works on all os'es and if it will restore all connections (depends on utility's).
You need python 2.7 ( 3.* will not work, but that can be fixed.)
If anybody is interested, let me know.
( I do not know how to make the program available here, so could someone tell me how to do this ?)
simple session management
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 538
- Joined: Wed Oct 22, 2008 9:05 pm
- Has thanked: 35 times
- Been thanked: 94 times
- Contact:
Re: simple session management
Hello,
Session Management is an important part of the LA system. You can't work properly without it.
You could just upload the code somewhere public:
* https://github.com/ is currently en vogue, kind of like slashdot was a few years ago. It is intended to "catch" as many accounts as possible (like Facebook etc.) so the entry barrier should be very low.
* http://repo.or.cz/ is kind of similar. Its service-software itself is Open Source so this is the morally better choice.
* or just create a tar.gz or zip and upload it somewhere on your own website.
That said: Many people are not aware that the hard part in session management is not the to write a program that starts, stops (and monitors) clients but that the clients behave differently and correctly when under session management. The only session manager that enforces that by a very strict set of rules is Non Session Management. http://non.tuxfamily.org/wiki/Non%20Session%20Manager
You should try that out (and use it, in my opinion)
Session Management is an important part of the LA system. You can't work properly without it.
You could just upload the code somewhere public:
* https://github.com/ is currently en vogue, kind of like slashdot was a few years ago. It is intended to "catch" as many accounts as possible (like Facebook etc.) so the entry barrier should be very low.
* http://repo.or.cz/ is kind of similar. Its service-software itself is Open Source so this is the morally better choice.
* or just create a tar.gz or zip and upload it somewhere on your own website.
That said: Many people are not aware that the hard part in session management is not the to write a program that starts, stops (and monitors) clients but that the clients behave differently and correctly when under session management. The only session manager that enforces that by a very strict set of rules is Non Session Management. http://non.tuxfamily.org/wiki/Non%20Session%20Manager
You should try that out (and use it, in my opinion)
Re: simple session management
Yes Nils, NON sessionmanager is a very good program.
I think that NON is a must for a professional studio.
But I'am a creative person and can not handle rigid control very well
As a part-time musician-ist I need a flexibel, simpel system. I want to be in control.
So I looked at different (script based) sessionmanagers and of course in my view they all lacked something
Hence this simple python thing.
So we do not have a download (/upload) section here.
I will try to put it on a free website, I will post the url later. ( I want that to be simple to. )
I think not everybody is keen on downloading a zip or tar from some unknown site.
But hey, you can trust me.
I think that NON is a must for a professional studio.
But I'am a creative person and can not handle rigid control very well
As a part-time musician-ist I need a flexibel, simpel system. I want to be in control.
So I looked at different (script based) sessionmanagers and of course in my view they all lacked something
Hence this simple python thing.
So we do not have a download (/upload) section here.
I will try to put it on a free website, I will post the url later. ( I want that to be simple to. )
I think not everybody is keen on downloading a zip or tar from some unknown site.
But hey, you can trust me.
Trying is what I do best.
-
- Established Member
- Posts: 538
- Joined: Wed Oct 22, 2008 9:05 pm
- Has thanked: 35 times
- Been thanked: 94 times
- Contact:
Re: simple session management
if it is just a single python file just post it here as with the Code tag
Re: simple session management
Here is the link to the zip file.
It contains (hopefully) all you need.
EDIT 23 July 2015:
A new download, changed some things like adding a template.
More suggestions/idea's are welcome
https://drive.google.com/file/d/0B39t6C ... sp=sharing
I would like to know if it works for you or not (and why)
And if people are interested I could make a GUI version.
It contains (hopefully) all you need.
EDIT 23 July 2015:
A new download, changed some things like adding a template.
More suggestions/idea's are welcome
https://drive.google.com/file/d/0B39t6C ... sp=sharing
I would like to know if it works for you or not (and why)
And if people are interested I could make a GUI version.
Last edited by peter on Thu Jul 23, 2015 8:02 am, edited 2 times in total.
Trying is what I do best.