Hi,
In this file: /openpli/enigma2/lib/python/Screens/ScanSetup.py
Can you please change the following lines:
Starting line 619
self.scan_cab.fec = ConfigSelection(default = defaultCab["fec"], choices = [
(eDVBFrontendParametersCable.FEC_Auto, _("Auto")),
(eDVBFrontendParametersCable.FEC_1_2, "1/2"),
(eDVBFrontendParametersCable.FEC_2_3, "2/3"),
(eDVBFrontendParametersCable.FEC_3_4, "3/4"),
(eDVBFrontendParametersCable.FEC_5_6, "5/6"),
(eDVBFrontendParametersCable.FEC_6_7, "6/7"),
(eDVBFrontendParametersCable.FEC_7_8, "7/8"),
(eDVBFrontendParametersCable.FEC_8_9, "8/9"),
(eDVBFrontendParametersCable.FEC_None, _("None"))])
Last line 628
By those ones:
self.scan_cab.fec = ConfigSelection(default = defaultCab["fec"], choices = [
(eDVBFrontendParametersCable.FEC_Auto, _("Auto")),
(eDVBFrontendParametersCable.FEC_1_2, "1/2"),
(eDVBFrontendParametersCable.FEC_2_3, "2/3"),
(eDVBFrontendParametersCable.FEC_3_4, "3/4"),
(eDVBFrontendParametersCable.FEC_5_6, "5/6"),
(eDVBFrontendParametersCable.FEC_7_8, "7/8"),
(eDVBFrontendParametersCable.FEC_8_9, "8/9"),
(eDVBFrontendParametersCable.FEC_3_5, "3/5"),
(eDVBFrontendParametersCable.FEC_4_5, "4/5"),
(eDVBFrontendParametersCable.FEC_9_10, "9/10"),
(eDVBFrontendParametersCable.FEC_None, _("None"))])
And this file: /openpli/enigma2/lib/dvb/frontendparms.cpp
Must be changed:
line start: 357
int eDVBCableTransponderData::getFecInner() const
{
if (originalValues) return transponderParameters.fec_inner;
switch (getProperty(DTV_INNER_FEC))
{
case FEC_NONE: return eDVBFrontendParametersCable::FEC_None;
case FEC_1_2: return eDVBFrontendParametersCable::FEC_1_2;
case FEC_2_3: return eDVBFrontendParametersCable::FEC_2_3;
case FEC_3_4: return eDVBFrontendParametersCable::FEC_3_4;
case FEC_5_6: return eDVBFrontendParametersCable::FEC_5_6;
case FEC_6_7: return eDVBFrontendParametersCable::FEC_6_7;
case FEC_7_8: return eDVBFrontendParametersCable::FEC_7_8;
case FEC_8_9: return eDVBFrontendParametersCable::FEC_7_8;
default:
case FEC_AUTO: return eDVBFrontendParametersCable::FEC_Auto;
}
}
Line end: 374
int eDVBCableTransponderData::getFecInner() const
{
if (originalValues) return transponderParameters.fec_inner;
switch (getProperty(DTV_INNER_FEC))
{
case FEC_NONE: return eDVBFrontendParametersCable::FEC_None;
case FEC_1_2: return eDVBFrontendParametersCable::FEC_1_2;
case FEC_2_3: return eDVBFrontendParametersCable::FEC_2_3;
case FEC_3_4: return eDVBFrontendParametersCable::FEC_3_4;
case FEC_5_6: return eDVBFrontendParametersCable::FEC_5_6;
case FEC_7_8: return eDVBFrontendParametersCable::FEC_7_8;
case FEC_8_9: return eDVBFrontendParametersCable::FEC_8_9;
case FEC_3_5: return eDVBFrontendParametersCable::FEC_3_5;
case FEC_4_5: return eDVBFrontendParametersCable::FEC_4_5;
case FEC_9_10: return eDVBFrontendParametersCable::FEC_9_10;
default:
case FEC_AUTO: return eDVBFrontendParametersCable::FEC_Auto;
}
}
With such change we will match the frontend definition.
Please test it before commit, because I no longer have a build env to test it myself.
Thanks,
Pr2