Re: [LAU] music apps scripts

From: Studio 32 <32studio@email-addr-hidden>
Date: Tue Feb 12 2008 - 16:53:43 EET

----------------------------------------
> From: raphael.bollen@email-addr-hidden

> Hi,
>
> I wrote a python script some time ago that is able to do what you ask and maybe more... There is no manual but I can answer questions if needed.
>
> features:
>
> - stop and restart services (i.e.: you don't want mysql running when doing audio but you need it back after)
> - kill running applications (i.e.: I kill my browser if it's running, I stop kontact, ...)
> - launch pexpect scripts (i.e.: to change some config settings in your system) see: http://www.noah.org/wiki/Pexpect (I include my audio_irq.py script as example of what you can do. Obviously it needs to match your system.)
> - launch audio applications with delays in between
> - run cleaning commands when all audio apps are closed (i.e.: restart your browser)
>
> Basic usage is:
>
> edit the example.conf file to match what you want to do. The file is documented clearly (hopefully!)
>
> then launch the script:
>
> python sss.py -v -f example.conf
>
> using different .conf files you can start different sets of applications.
>
> Since it's quite small, I think I can attach the file here.
>
> --
> Raphaël.

Thanks, I'll take a look at it!

Is it also possible to launch lash_panel with the saved project by a script (*.sh or python)? So I'm able to start the apps WITH the right settings (lash)?

Best regards,

dirk

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Feb 12 20:15:02 2008

This archive was generated by hypermail 2.1.8 : Tue Feb 12 2008 - 20:15:02 EET