mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user