vusolo4k: simplify and unify code from commit 59f48036674e482236336f18b440189e83bd013b

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9604d04d00
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-01 (Thu, 01 Nov 2018)

Origin message was:
------------------
- vusolo4k: simplify and unify code from commit 59f48036674e482236336f18b440189e83bd013b

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-11-01 22:21:20 +01:00
parent 0a2a98cb76
commit 8a2b16cc7e
8 changed files with 13 additions and 24 deletions

View File

@@ -419,10 +419,6 @@ AC_ARG_WITH(boxtype,
tripledragon|coolstream|spark|azbox|generic|armbox) tripledragon|coolstream|spark|azbox|generic|armbox)
BOXTYPE="$withval" BOXTYPE="$withval"
;; ;;
vusolo4k)
BOXTYPE="armbox"
BOXMODEL="$withval"
;;
*) *)
AC_MSG_ERROR([bad value $withval for --with-boxtype]) AC_MSG_ERROR([bad value $withval for --with-boxtype])
;; ;;
@@ -453,14 +449,7 @@ AS_HELP_STRING([], [valid for generic: raspi]),
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE]) AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi fi
;; ;;
vusolo4k) hd51|hd60|vusolo4k)
if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval"
else
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi
;;
hd51|hd60)
if test "$BOXTYPE" = "armbox"; then if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval" BOXMODEL="$withval"
else else

View File

@@ -537,7 +537,7 @@ start-block~remote
{=if-equal:{=var-get:boxtype=}~CST Trinity Duo~ {=include-block:Y_Blocks.txt;rc_cst_v6=}~ {=if-equal:{=var-get:boxtype=}~CST Trinity Duo~ {=include-block:Y_Blocks.txt;rc_cst_v6=}~
{=if-equal:{=var-get:boxtype=}~AX-Technologies HD51~{=include-block:Y_Blocks.txt;rc_ax_hd51=}~ {=if-equal:{=var-get:boxtype=}~AX-Technologies HD51~{=include-block:Y_Blocks.txt;rc_ax_hd51=}~
{=if-equal:{=var-get:boxtype=}~Mutant HD51~ {=include-block:Y_Blocks.txt;rc_mutant_hd51=}~ {=if-equal:{=var-get:boxtype=}~Mutant HD51~ {=include-block:Y_Blocks.txt;rc_mutant_hd51=}~
{=if-equal:{=var-get:boxtype=}~VU SOLO4K~ {=include-block:Y_Blocks.txt;rc_vusolo4k=}~ {=if-equal:{=var-get:boxtype=}~VU+ SOLO4K~ {=include-block:Y_Blocks.txt;rc_vu_solo4k=}~
{=comment:fallback~=} {=include-block:Y_Blocks.txt;rc_cst_v1=} {=comment:fallback~=} {=include-block:Y_Blocks.txt;rc_cst_v1=}
=}=}=}=}=}=}=}=}=}=}=} =}=}=}=}=}=}=}=}=}=}=}
@@ -555,7 +555,7 @@ start-block~remote
{=if-equal:{=var-get:yfbtype=}~8~ {=include-block:Y_Blocks.txt;rc_cst_v6=}~ {=if-equal:{=var-get:yfbtype=}~8~ {=include-block:Y_Blocks.txt;rc_cst_v6=}~
{=if-equal:{=var-get:yfbtype=}~9~ {=include-block:Y_Blocks.txt;rc_ax_hd51=}~ {=if-equal:{=var-get:yfbtype=}~9~ {=include-block:Y_Blocks.txt;rc_ax_hd51=}~
{=if-equal:{=var-get:yfbtype=}~10~ {=include-block:Y_Blocks.txt;rc_mutant_hd51=}~ {=if-equal:{=var-get:yfbtype=}~10~ {=include-block:Y_Blocks.txt;rc_mutant_hd51=}~
{=if-equal:{=var-get:yfbtype=}~11~ {=include-block:Y_Blocks.txt;rc_vusolo4k=}~ {=if-equal:{=var-get:yfbtype=}~11~ {=include-block:Y_Blocks.txt;rc_vu_solo4k=}~
{=comment:fallback~=} {=include-block:Y_Blocks.txt;rc_cst_v1=} {=comment:fallback~=} {=include-block:Y_Blocks.txt;rc_cst_v1=}
=}=}=}=}=}=}=}=}=}=}=}=}=} =}=}=}=}=}=}=}=}=}=}=}=}=}
@@ -1067,9 +1067,9 @@ start-block~rc_mutant_hd51
</map> </map>
end-block~rc_mutant_hd51 end-block~rc_mutant_hd51
# ------ Remote VU Solo 4K # ------ Remote VU+ Solo 4K
start-block~rc_vusolo4k start-block~rc_vu_solo4k
<img src="images/rc_vusolo4k.png" usemap="#rc"/> <img src="images/rc_vu_solo4k.png" usemap="#rc"/>
<map name="rc" id="rc"> <map name="rc" id="rc">
<!--<area shape="circle" coords="33,28,10" id="113" alt="v1_mute" href="javascript:rcsim('KEY_POWER_TV');">--> <!--<area shape="circle" coords="33,28,10" id="113" alt="v1_mute" href="javascript:rcsim('KEY_POWER_TV');">-->
<area shape="circle" coords="105,28,10" id ="116" alt="Power" href="javascript:rcsim('KEY_POWER');"> <area shape="circle" coords="105,28,10" id ="116" alt="Power" href="javascript:rcsim('KEY_POWER');">
@@ -1118,4 +1118,4 @@ start-block~rc_vusolo4k
<area shape="circle" coords="81,422,10" id ="128" alt="stop" href="javascript:rcsim('KEY_STOP');"> <area shape="circle" coords="81,422,10" id ="128" alt="stop" href="javascript:rcsim('KEY_STOP');">
<area shape="circle" coords="104,422,10" id ="385" alt="radio" href="javascript:rcsim('KEY_RADIO');"> <area shape="circle" coords="104,422,10" id ="385" alt="radio" href="javascript:rcsim('KEY_RADIO');">
</map> </map>
end-block~rc_vusolo4k end-block~rc_vu_solo4k

View File

@@ -162,7 +162,7 @@ select {
<option value="8">CST HD-2 | Trinity Duo</option> <option value="8">CST HD-2 | Trinity Duo</option>
<option value="9">AX | HD51</option> <option value="9">AX | HD51</option>
<option value="10">Mutant | HD51</option> <option value="10">Mutant | HD51</option>
<option value="11">VU | Solo 4K</option> <option value="11">VU+ | Solo 4K</option>
</select> </select>
</td> </td>
<td>{=L:set.yweb.screenshot_rc=}</td> <td>{=L:set.yweb.screenshot_rc=}</td>

View File

@@ -97,7 +97,7 @@ install_DATA += rc_ax_hd51.png \
endif endif
if BOXMODEL_VUSOLO4K if BOXMODEL_VUSOLO4K
install_DATA += rc_vusolo4k.png install_DATA += rc_vu_solo4k.png
endif endif
# file manager # file manager

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -223,7 +223,7 @@ class CRCInput
RC_tv = KEY_TV, RC_tv = KEY_TV,
RC_radio = KEY_RADIO, RC_radio = KEY_RADIO,
RC_text = KEY_TEXT, RC_text = KEY_TEXT,
#if defined BOXMODEL_VUSOLO4K #if BOXMODEL_VUSOLO4K
RC_info = 0xFFFE, RC_info = 0xFFFE,
RC_epg = KEY_INFO, RC_epg = KEY_INFO,
#else #else

View File

@@ -31,7 +31,7 @@
#include <OpenThreads/ReentrantMutex> #include <OpenThreads/ReentrantMutex>
#ifdef BOXMODEL_VUSOLO4K #if BOXMODEL_VUSOLO4K
#define MAX_FE 16 #define MAX_FE 16
#define MAX_ADAPTERS 4 #define MAX_ADAPTERS 4
#else #else

View File

@@ -1233,7 +1233,7 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
case FEC_2_3: case FEC_2_3:
fec = FEC_2_3; fec = FEC_2_3;
if (feparams->delsys == DVB_S2 && feparams->modulation == PSK_8) if (feparams->delsys == DVB_S2 && feparams->modulation == PSK_8)
#if defined BOXMODEL_VUSOLO4K #if BOXMODEL_VUSOLO4K
pilot = PILOT_AUTO; pilot = PILOT_AUTO;
#else #else
pilot = PILOT_ON; pilot = PILOT_ON;