Allow capture.cpp to pass image filename to script
Sifan Kahale
sifan.kahale at gmail.com
Fri Feb 14 18:46:15 GMT 2020
Something like this may have been suggested before. It would be great if
the capture.cpp could pass the name of the current image (full path) to the
image script specified on the camera EKOS page.
Here's a diff of the capture.cpp from the latest release that I'm using.
Please let me know if there is a better way of doing this and if this could
be incorporated in one of the next releases (that way I don't have to patch
every time).
-------------------------------------------
@@ -1229,7 +1229,18 @@ bool Capture::setCaptureComplete()
- postCaptureScript.start(activeJob->getPostCaptureScript());
+ postCaptureScript.start(activeJob->getPostCaptureScript(),
QStringList()
+ << activeJob->getSignature()
+ << QString::number(nextSequenceID)
+ );
--------------------------------------------------
Thx!!
Sifan Kahale
KOBS
Have (gravel) road, will travel ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20200214/abb9c989/attachment.html>
More information about the Kstars-devel
mailing list