- revert frontend/scan changes

This reverts commits

01: 7c109f36dd4297499f98c25720b7622eb5d15d41
02: be39dcf90561d819be19d4a53e285733b86f2a2a
03: 2f6346c63620a88152a5936e424f50236257df55
04: 95a6a7b45f7e6e4b5addf36c72ef572c220f6509
05: ffe8a28150607dcefd2f94e8eb94fcd07cf94998
06: 7b6a945d76fa50f59fb8d2c3d37fa707ff1028fa
07: 927f09bb2de79bb318934963fcdb65c31fe17b8b
08: b9522992e9d4b7d2b0cb2b2d32a56c01b1c5df97
09: fd8a6c469b88516fa18c3b10dc87e05a687425c5
10: b530a78ffb5593d4287a5f15adad8bf239363b93
11: 25b9c4b40e17d28202d19896e4fd04efbcdaa9d5

 Conflicts:
	src/zapit/src/frontend.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>

Adopted parts because of conflicts:

01: untouched/not picked                     - frontend_types.h: fix unused-variable
02: 3c5ea6452c frontend_types.h: fix missing name of enum typedef
03: 03b5192fe3 fix transponders
04: untouched/not picked                     fix typo
05: 61579e130a adopt scansettings to new frontend handling
06: cde88688ca fix multistream (thx BP for testing)
07: b019079220 DVB-T2 fix
08: b9522992e9d4b7d2b0cb2b2d32a56c01b1c5df97 cosmetics
09: 414043913e fix frontend-parameters
10: untouched/not picked                     Revert "Revert "frontend multistream fixes""
11: untouched/not picked                     Revert "Revert "complete rebuild of frontend cmds""
This commit is contained in:
svenhoefer
2020-11-23 22:59:16 +01:00
committed by Thilo Graf
parent 9ebc8c5cc6
commit 388c819813
10 changed files with 290 additions and 281 deletions

View File

@@ -1812,7 +1812,7 @@ int CScanSetup::addScanOptionsItems(CMenuWidget *options_menu, const int &shortc
coderateLP->setHint("", LOCALE_MENU_HINT_SCAN_FEC);
tm = new CMenuOptionChooser(LOCALE_EXTRA_TP_TRANSMIT_MODE, (int *)&scansettings.terrestrial_TP_transmit_mode, TERRSETUP_SCANTP_TRANSMIT_MODE, TERRSETUP_SCANTP_TRANSMIT_MODE_COUNT, true, NULL, CRCInput::convertDigitToKey(shortCut++));
tm->setHint("", LOCALE_MENU_HINT_SCAN_TRANSMIT_MODE);
CStringInput *pli = new CStringInput(LOCALE_EXTRA_TP_PLI, &scansettings.terrestrial_TP_pli, 3, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "0123456789");
CStringInput *pli = new CStringInput(LOCALE_EXTRA_TP_PLI, &scansettings.terrestrial_TP_pli, 1, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "0123456789");
Pli = new CMenuDForwarder(LOCALE_EXTRA_TP_PLI, true, scansettings.terrestrial_TP_pli, pli, "", CRCInput::convertDigitToKey(shortCut++));
}
@@ -2037,7 +2037,7 @@ void CScanSetup::updateManualSettings()
scansettings.sat_TP_delsys = tI->second.feparams.delsys;
scansettings.sat_TP_mod = tI->second.feparams.modulation;
scansettings.satName = CServiceManager::getInstance()->GetSatelliteName(channel->getSatellitePosition());
scansettings.sat_TP_pli = (tI->second.feparams.plp_id == NO_STREAM_ID_FILTER ? "0" : to_string(tI->second.feparams.plp_id));
scansettings.sat_TP_pli = to_string(tI->second.feparams.plp_id);
scansettings.sat_TP_plc = to_string(tI->second.feparams.pls_code);
scansettings.sat_TP_plm = tI->second.feparams.pls_mode;
} else if (CFrontend::isCable(tI->second.feparams.delsys)) {
@@ -2056,7 +2056,7 @@ void CScanSetup::updateManualSettings()
scansettings.terrestrial_TP_transmit_mode = tI->second.feparams.transmission_mode;
scansettings.terrestrial_TP_coderate_HP = tI->second.feparams.code_rate_HP;
scansettings.terrestrial_TP_coderate_LP = tI->second.feparams.code_rate_LP;
scansettings.terrestrial_TP_pli = (tI->second.feparams.plp_id == NO_STREAM_ID_FILTER ? "0" : to_string(tI->second.feparams.plp_id));
scansettings.terrestrial_TP_pli = to_string(tI->second.feparams.plp_id);
scansettings.terrestrialName = CServiceManager::getInstance()->GetSatelliteName(channel->getSatellitePosition());
}
@@ -2162,7 +2162,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
scansettings.sat_TP_delsys = tmpI->second.feparams.delsys;
scansettings.sat_TP_mod = tmpI->second.feparams.modulation;
scansettings.sat_TP_pilot = tmpI->second.feparams.pilot;
scansettings.sat_TP_pli = (tmpI->second.feparams.plp_id == NO_STREAM_ID_FILTER ? "0" : to_string(tmpI->second.feparams.plp_id));
scansettings.sat_TP_pli = to_string(tmpI->second.feparams.plp_id);
scansettings.sat_TP_plc = to_string(tmpI->second.feparams.pls_code);
scansettings.sat_TP_plm = tmpI->second.feparams.pls_mode;
}
@@ -2181,7 +2181,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
scansettings.terrestrial_TP_transmit_mode = tmpI->second.feparams.transmission_mode;
scansettings.terrestrial_TP_coderate_HP = tmpI->second.feparams.code_rate_HP;
scansettings.terrestrial_TP_coderate_LP = tmpI->second.feparams.code_rate_LP;
scansettings.terrestrial_TP_pli = (tmpI->second.feparams.plp_id == NO_STREAM_ID_FILTER ? "0" : to_string(tmpI->second.feparams.plp_id));
scansettings.terrestrial_TP_pli = to_string(tmpI->second.feparams.plp_id);
//scansettings.terrestrialName = CServiceManager::getInstance()->GetSatelliteName(channel->getSatellitePosition());
}
}