mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Conflicts:
src/gui/infoviewer_bb.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: ccb70fd1b1
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-13 (Fri, 13 Oct 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -77,6 +77,12 @@ function do_check(){
|
||||
=}
|
||||
|
||||
/*programs*/
|
||||
{=var-set:grab={=find-exec:grab=}=}
|
||||
{=if-empty:{=var-get:grab=}~
|
||||
sLog_addRow(sLog_body, "red", "Programs: grab is not installed. OSD Screenshot is disabled. ", "failed");
|
||||
~
|
||||
sLog_addRow(sLog_body, "green", "Programs: grab is installed at: {=var-get:grab=}. OSD Screenshot is enabled.", "ok");
|
||||
=}
|
||||
{=var-set:fbshot={=find-exec:fbshot=}=}
|
||||
{=if-empty:{=var-get:fbshot=}~
|
||||
sLog_addRow(sLog_body, "red", "Programs: fbshot is not installed. OSD Screenshot is disabled. ", "failed");
|
||||
|
@@ -1,3 +1,4 @@
|
||||
{=var-set:grab={=find-exec:grab=}=}
|
||||
{=var-set:fbshot={=find-exec:fbshot=}=}
|
||||
|
||||
{=include-block:Y_NI_Blocks.txt;head=}
|
||||
@@ -43,8 +44,10 @@ function do_snapshot() {
|
||||
filename = id("filename").value;
|
||||
}
|
||||
|
||||
if ("{=var-get:fbshot=}" != "" && enableVideo == 0)
|
||||
dbox_exec_tools("fbshot fb /tmp/"+filename+".png");
|
||||
if ("{=var-get:grab=}" != "" && enableVideo == 0)
|
||||
dbox_exec_tools("fbshot grab -p -o /tmp/"+filename+".png");
|
||||
else if ("{=var-get:fbshot=}" != "" && enableVideo == 0)
|
||||
dbox_exec_tools("fbshot fbshot /tmp/"+filename+".png");
|
||||
else
|
||||
loadSyncURL("/control/screenshot?name="+filename+"&osd="+enableOSD+"&video="+enableVideo);
|
||||
|
||||
|
@@ -479,17 +479,24 @@ do_lcshot()
|
||||
}
|
||||
# -----------------------------------------------------------
|
||||
# osd shot
|
||||
# $1= fb | dbox bzw. leer
|
||||
# $1= fbshot | grab | dbox bzw. leer
|
||||
# -----------------------------------------------------------
|
||||
do_fbshot()
|
||||
{
|
||||
if [ "$1" = "fb" ]; then
|
||||
if [ "$1" = "fbshot" ]; then
|
||||
shift 1
|
||||
if [ -e "$y_path_varbin/fbshot" ]; then
|
||||
$y_path_varbin/fbshot $*
|
||||
else
|
||||
fbshot $*
|
||||
fi
|
||||
elif [ "$1" = "grab" ]; then
|
||||
shift 1
|
||||
if [ -e "$y_path_varbin/grab" ]; then
|
||||
$y_path_varbin/grab $*
|
||||
else
|
||||
grab $*
|
||||
fi
|
||||
else
|
||||
shift 1
|
||||
if [ -e "$y_path_varbin/dboxshot" ]; then
|
||||
|
@@ -666,7 +666,7 @@ void CInfoViewerBB::showIcon_Resolution()
|
||||
videoDecoder->getPictureInfo(xres, yres, framerate);
|
||||
if (yres > 1088)
|
||||
icon_name = NEUTRINO_ICON_RESOLUTION_UHD;
|
||||
else if (yres > 576)
|
||||
else if (yres > 704)
|
||||
icon_name = NEUTRINO_ICON_RESOLUTION_HD;
|
||||
else if (yres > 0)
|
||||
icon_name = NEUTRINO_ICON_RESOLUTION_SD;
|
||||
|
@@ -314,10 +314,6 @@
|
||||
//NI
|
||||
#define NEUTRINO_ICON_HINT_IMAGELOGO "hint_imagelogo"
|
||||
#define NEUTRINO_ICON_HINT_VTXT "hint_vtxt"
|
||||
#define NEUTRINO_ICON_HINT_ICONSPKG0 "hint_iconsPKG0"
|
||||
#define NEUTRINO_ICON_HINT_ICONSPKG1 "hint_iconsPKG1"
|
||||
#define NEUTRINO_ICON_HINT_ICONSPKG2 "hint_iconsPKG2"
|
||||
#define NEUTRINO_ICON_HINT_ICONSPKG3 "hint_iconsPKG3"
|
||||
#define NEUTRINO_ICON_HINT_LCD4L "hint_lcd4linux"
|
||||
#define NEUTRINO_ICON_HINT_FCM "hint_FritzCallMonitor"
|
||||
#define NEUTRINO_ICON_HINT_EMMRD "hint_emmrd"
|
||||
|
Reference in New Issue
Block a user