Page 1 of 1

Running scripts from a Show

Posted: Thu Nov 12, 2015 9:05 am
by deviator
Hello everybody!

As far as i can see it is not possible to execute sripts from the shows time line? Is this correct?

Is there any work around? Lets say i want to start vlc.exe after 60 seconds in a show.

Thanks!

Re: Running scripts from a Show

Posted: Thu Nov 12, 2015 9:16 am
by mcallegari
Put the script into a Chaser and give it a proper duration

By the way, why don't you use the QLC+ audio/video playback ?

Re: Running scripts from a Show

Posted: Thu Nov 12, 2015 9:44 am
by deviator
Thanks for your reply... i tried this first but it didnt work. But now it does. I did not set the proper duration.

VLC.EXE was just an example aplication. But what i really need is to start external software that is capable of 5.1 playback. I think vlc can do this though.

Re: Running scripts from a Show

Posted: Fri Dec 04, 2015 3:53 pm
by deviator
I wonder if its possible to send dmx values as a variable in the scipt.

Let say that vlc -volume %1

Where %1 is the vaule of a dmx channel?

/Kristofer

Re: Running scripts from a Show

Posted: Sat Dec 05, 2015 8:21 am
by mcallegari
Please read the documentation: http://www.qlcplus.org/docs/scripteditor.html
You can add "arg" to a "systemcommand"

Re: Running scripts from a Show

Posted: Mon Dec 07, 2015 10:17 am
by deviator
Thank you for your reply.

I got that.
But what i would like to do is:

systemcommand:/usr/bin/vlc arg:-f arg:--volume[insert value from DMX channel here]

in this way i could control the volume from a dmx channel, and make fades, etc.

Re: Running scripts from a Show

Posted: Mon Dec 07, 2015 12:16 pm
by mcallegari
Then it's not possible at the moment. Sorry.

Could be a nice feature to have though.

Re: Running scripts from a Show

Posted: Sun Jul 14, 2024 1:04 pm
by ramack
I am looking for the same feature. Is there any way to pass a DMX channel level (or a slider in the virtual console) to a script (executing a bash script on linux)?
Or at least trigger a script based on a level (crossing a definable threshold)?

Re: Running scripts from a Show

Posted: Mon Jul 15, 2024 8:45 am
by GGGss
You can set a threshold by creating a dummy fixture inside a loopback universe and using a channel modifier.
Now, use this fixture as a loopback input channel to a button on which your script is bound.
Once the threshold has been reached, the button will become active, and your script will run.