enigma2: add patch to fix DVB-S2 FEC selection in manual scan
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2-4.3.1r4 / 0001-ScanSetup.py-fixed-manual-scan-DVB-S2-FEC-selection.patch
1 From ccae05ffa3a49076025395fab8fadd29cc0fa597 Mon Sep 17 00:00:00 2001
2 From: ghost <andreas.monzner@dream-property.net>
3 Date: Wed, 3 May 2017 19:36:14 +0200
4 Subject: [PATCH] ScanSetup.py: fixed manual scan DVB-S2 FEC selection
5
6 ---
7  usr/lib/enigma2/python/Screens/ScanSetup.py | 3 ++-
8  1 file changed, 2 insertions(+), 1 deletion(-)
9
10 diff --git a/usr/lib/enigma2/python/Screens/ScanSetup.py b/usr/lib/enigma2/python/Screens/ScanSetup.py
11 index 5722be4..3eaad1d 100644
12 --- a/usr/lib/enigma2/python/Screens/ScanSetup.py
13 +++ b/usr/lib/enigma2/python/Screens/ScanSetup.py
14 @@ -1330,7 +1330,8 @@ class ScanSetup(ConfigListScreen, Screen, TransponderSearchSupport, CableTranspo
15                                         self.list.append(getConfigListEntry(_("FEC"), self.scan_sat.fec))
16                                 elif self.scan_system.value == "DVB-S2":
17                                         self.modulationEntry = getConfigListEntry(_('Modulation'), nim.can_modulation_auto and self.scan_sat.modulation_auto or self.scan_sat.modulation)
18 -                                       if self.scan_sat.modulation.value == eDVBFrontendParametersSatellite.Modulation_8PSK:
19 +                                       mod = self.modulationEntry[1].value
20 +                                       if mod == eDVBFrontendParametersSatellite.Modulation_8PSK:
21                                                 self.fecEntry = getConfigListEntry(_("FEC"), nim.can_auto_fec_s2 and self.scan_sat.fec_s2_8psk_auto or self.scan_sat.fec_s2_8psk)
22                                         else:
23                                                 self.fecEntry = getConfigListEntry(_("FEC"), nim.can_auto_fec_s2 and self.scan_sat.fec_s2_qpsk_auto or self.scan_sat.fec_s2_qpsk)
24 -- 
25 2.1.4
26