Running scripts from a Show

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
deviator
Posts: 4
Joined: Mon Nov 09, 2015 12:32 pm
Real Name:

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!
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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 ?
deviator
Posts: 4
Joined: Mon Nov 09, 2015 12:32 pm
Real Name:

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.
deviator
Posts: 4
Joined: Mon Nov 09, 2015 12:32 pm
Real Name:

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
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Please read the documentation: http://www.qlcplus.org/docs/scripteditor.html
You can add "arg" to a "systemcommand"
deviator
Posts: 4
Joined: Mon Nov 09, 2015 12:32 pm
Real Name:

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.
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Then it's not possible at the moment. Sorry.

Could be a nice feature to have though.
ramack
Posts: 3
Joined: Thu Nov 02, 2023 7:18 pm
Real Name: Rapha Mack

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)?
User avatar
GGGss
Posts: 3145
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

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.
All electric machines work on smoke... when the smoke escapes... they don't work anymore
Post Reply