- yWeb: silent screenshots

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-10-21 16:29:48 +02:00
committed by Thilo Graf
parent e3d94c2c60
commit 81670c3a6b

View File

@@ -49,11 +49,11 @@ function do_snapshot() {
if ("{=var-get:grab=}" != "")
{
if (enableOSD == 1 && enableVideo == 1)
dbox_exec_tools("fbshot grab -p /tmp/"+filename+".png");
dbox_exec_tools("fbshot grab -q -p /tmp/"+filename+".png");
else if (enableOSD == 1)
dbox_exec_tools("fbshot grab -p -o /tmp/"+filename+".png");
dbox_exec_tools("fbshot grab -q -p -o /tmp/"+filename+".png");
else if (enableVideo == 1)
dbox_exec_tools("fbshot grab -p -v /tmp/"+filename+".png");
dbox_exec_tools("fbshot grab -q -p -v /tmp/"+filename+".png");
}
else if ("{=var-get:fbshot=}" != "" && enableVideo == 0)
dbox_exec_tools("fbshot fbshot /tmp/"+filename+".png");