update dm7080 hardware drivers (frontend / demux was broken in 20170409)
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2-4.3.1r1 / 0008-use-inactive-event-for-disabled-DVB-S-2-tuner.patch
1 From 467e3228f737d8c452c97284423b6c9a4d229a0c Mon Sep 17 00:00:00 2001
2 From: ghost <andreas.monzner@dream-property.net>
3 Date: Tue, 28 Mar 2017 13:08:24 +0200
4 Subject: [PATCH 8/9] use "inactive" event for disabled DVB-S(2) tuner, dont
5  show SCPC optimized search range when DVB-S(2) is inactive
6
7 ---
8  usr/lib/enigma2/python/Screens/Satconfig.py | 4 ++--
9  1 file changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/usr/lib/enigma2/python/Screens/Satconfig.py b/usr/lib/enigma2/python/Screens/Satconfig.py
12 index 34f6e7c..a1c2d2a 100644
13 --- a/usr/lib/enigma2/python/Screens/Satconfig.py
14 +++ b/usr/lib/enigma2/python/Screens/Satconfig.py
15 @@ -160,7 +160,7 @@ class NimSetup(Screen, ConfigListScreen, ServiceStopScreen):
16                                 name = self.nim.description
17                                 if name == "Alps BSBE2":
18                                         self.list.append(getConfigListEntry(_("Tone Amplitude"), self.nimConfig.toneAmplitude))
19 -                               if self.nimConfig.scpcSearchRange.fe_id is not None:
20 +                               if self.nimConfig.scpcSearchRange.fe_id is not None and configMode != "nothing":
21                                         self.list.append(getConfigListEntry(_("SCPC optimized search range"), self.nimConfig.scpcSearchRange))
22  
23                 elif curType.startswith("DVB-C"):
24 @@ -583,7 +583,7 @@ class NimSelection(Screen):
25                                                         txt += _(nimmanager.config_mode_str[configMode])
26                                                 txt += " %s %s" %(_("Tuner"), slot_names[int(nimConfig.connectedTo.value)])
27                                         elif configMode == "nothing":
28 -                                               txt += _("not configured")
29 +                                               txt += _(NimManager.config_mode_str[configMode])
30                                         elif configMode == "simple":
31                                                 if nimConfig.diseqcMode.value in ("single", "toneburst_a_b", "diseqc_a_b", "diseqc_a_b_c_d"):
32                                                         txt += {"single": _("Single"), "toneburst_a_b": _("Toneburst A/B"), "diseqc_a_b": _("DiSEqC A/B"), "diseqc_a_b_c_d": _("DiSEqC A/B/C/D")}[nimConfig.diseqcMode.value] + "\n"
33 -- 
34 2.1.4
35