QLC+ 4.11.0 Scripts stop working when too much comands
Posted: Mon Sep 18, 2017 6:13 pm
Hi Massimo, hi community.
I'm using qlc+ on linux manjaro 64bit (based on archlinux) for a theater show. I have to control light, sound and video.
For video mapping I use mapmap (http://www.mapmap.info/), that I control by sending osc messages from qlc+ scripts.
But when I send several messages in the same script, it stops working and no more scripting command is working until I quit and reopen project.
For example, this code sometimes stop working (about 1 time every 10 tries) :
But when the number of command is huger, it stops working about 1 time for 2 tries :
The solution I've found is to write a bash script (easier so I can make loop), so only one command is sent from the script.
I'm using qlc+ on linux manjaro 64bit (based on archlinux) for a theater show. I have to control light, sound and video.
For video mapping I use mapmap (http://www.mapmap.info/), that I control by sending osc messages from qlc+ scripts.
But when I send several messages in the same script, it stops working and no more scripting command is working until I quit and reopen project.
For example, this code sometimes stop working (about 1 time every 10 tries) :
Code: Select all
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:2 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:3 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:4 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:5 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:6 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:7 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:8 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:9 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:10 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:11 arg:0
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/rate arg:if arg:1 arg:0.05
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/rate arg:if arg:2 arg:0.05
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/rate arg:if arg:3 arg:0.25
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/rate arg:if arg:5 arg:3
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/uri arg:is arg:1 arg:/home/ray/boulot/cueilleurs_de_brume/foret/video/Sc_3_foret_noire.png
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/uri arg:is arg:2 arg:/home/ray/boulot/cueilleurs_de_brume/foret/video/Sc_2_foret_jap.png
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/uri arg:is arg:3 arg:/home/ray/boulot/cueilleurs_de_brume/foret/video/Sc_1.mp4
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/uri arg:is arg:4 arg:/home/ray/boulot/cueilleurs_de_brume/foret/video/MORPHOS.mp4
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/uri arg:is arg:5 arg:/home/ray/boulot/cueilleurs_de_brume/foret/video/lucioles.mp4
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/rewind
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/pause
Code: Select all
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.99
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.98
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.97
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.96
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.95
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.94
wait:10ms
...
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.02
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0.01
wait:10ms
systemcommand:/usr/bin/oscsend arg:localhost arg:12345 arg:/mapmap/paint/opacity arg:if arg:1 arg:0