yWeb: silent screenshots

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 81670c3a6b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-21 (Sat, 21 Oct 2017)

Origin message was:
------------------
- yWeb: silent screenshots

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-21 16:29:48 +02:00
committed by Thilo Graf
parent 38c42e1c6d
commit c3ae51f1a9

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");