Using Live Stacking in a Siril Script

Hi all,

i wan’t to use the Siril live stacking in a script. How is this be done in practice ?
If i use the sequence
LS_start (options)
livestack filename1
livestack filename2

exactly when livestack is called, the file filename1 have to be there or i get an error.
For more and new files it’s impossible to wait till they are generated live.
Have i use pySiril or an external script for this problem ? But when i restart the script, the stacking result is deleted and overwritten.

Any ideas about it ?

Hello, you are supposed to send the livestack command as the file becomes available, so not from a script, but sending it to siril’s command pipe, possibly with pysiril. See Headless mode — Siril 1.2.3 documentation

Thanks a lot.
I will give it a try.