- yeb: small fixes for screenshot

This commit is contained in:
GetAway
2021-05-20 20:24:10 +02:00
parent 1309331a9f
commit 6e6d17f9c5
5 changed files with 7 additions and 5 deletions

View File

@@ -163,10 +163,10 @@ function get_data(){
</li> </li>
~=} ~=}
<li> <li>
<a target="work" title="OSD-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?osd=1&noremote=1">OSD-{=L:bc.menue.screenshot=}</a> <a target="work" title="OSD-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?osd=1&rc={=ini-get:%(CONFIGDIR)/Y-Web.conf;screenshot_rc;false=}">OSD-{=L:bc.menue.screenshot=}</a>
</li> </li>
<li> <li>
<a target="work" title="TV-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?video=1&noremote=1">TV-{=L:bc.menue.screenshot=}</a> <a target="work" title="TV-{=L:bc.menue.screenshot=}" href="Y_Tools_Screenshot.yhtm?video=1&rc={=ini-get:%(CONFIGDIR)/Y-Web.conf;screenshot_rc;false=}">TV-{=L:bc.menue.screenshot=}</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -49,7 +49,7 @@ function do_snapshot() {
if ("{=var-get:grab=}" != "") if ("{=var-get:grab=}" != "")
{ {
if (enableOSD == 1 && enableVideo == 1) if (enableOSD == 1 && enableVideo == 1)
dbox_exec_tools("fbshot grab -q -p -j 85 /tmp/"+filename+".png"); dbox_exec_tools("fbshot grab -q -p /tmp/"+filename+".png");
else if (enableOSD == 1) else if (enableOSD == 1)
dbox_exec_tools("fbshot grab -q -p -o /tmp/"+filename+".png"); dbox_exec_tools("fbshot grab -q -p -o /tmp/"+filename+".png");
else if (enableVideo == 1) else if (enableVideo == 1)
@@ -134,7 +134,7 @@ function do_reload(){
</div> </div>
<table cellpadding="0" class="screenshot"> <table cellpadding="0" class="screenshot">
<tr> <tr>
<td id="remote" {=if-empty:{=noremote=}~~style="display: none"=}> <td id="remote" {=if-equal:{=rc=}~false~style="display: none"~=}>
{=include-block:Y_Blocks.txt;remote=} {=include-block:Y_Blocks.txt;remote=}
</td> </td>
<td class="shot"> <td class="shot">

View File

@@ -13,7 +13,7 @@ start-block~neutrino_form
</style> </style>
</head> </head>
<body> <body>
{=var-set:wait_text={=L:save_vlaues=}=}{=include-block:Y_Blocks.txt;snip_wait=} {=var-set:wait_text={=L:save_values=}=}{=include-block:Y_Blocks.txt;snip_wait=}
{=include-block:Y_neutrino_Blocks.txt;{=var-get:neutrino=}=} {=include-block:Y_neutrino_Blocks.txt;{=var-get:neutrino=}=}
</body> </body>
</html> </html>

View File

@@ -362,6 +362,7 @@ set.yweb.box_color_desc=Farbe der Box Bezeichnung im Top-Menue. z.B. 2188e0 eing
set.yweb.box_color=Farbe set.yweb.box_color=Farbe
set.yweb.start_page=Startseite set.yweb.start_page=Startseite
set.yweb.remote=Fernbedienung set.yweb.remote=Fernbedienung
set.yweb.screenshot_rc=FB im Screenshot-Menü
========Settings Picture viewer ========Settings Picture viewer
set.pv.pictureviewer=Bildbetrachter set.pv.pictureviewer=Bildbetrachter

View File

@@ -365,6 +365,7 @@ set.yweb.box_color_desc=Box Name color in Top-Menue. e.g. enter 2188e0 without #
set.yweb.box_color=Color set.yweb.box_color=Color
set.yweb.start_page=Start page set.yweb.start_page=Start page
set.yweb.remote=Remote set.yweb.remote=Remote
set.yweb.screenshot_rc=RC in screenshot menu
========Settings Picture viewer ========Settings Picture viewer
set.pv.pictureviewer=Pictureviewer set.pv.pictureviewer=Pictureviewer