mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- 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:
@@ -149,7 +149,7 @@ bool CScanSettings::loadSettings(const char * const fileName)
|
||||
sat_TP_delsys = configfile.getInt32("sat_TP_delsys", DVB_S);
|
||||
sat_TP_pilot = configfile.getInt32("sat_TP_pilot", ZPILOT_AUTO);
|
||||
sat_TP_pli = configfile.getString("sat_TP_pli", "0");
|
||||
sat_TP_plc = configfile.getString("sat_TP_plc", "0");
|
||||
sat_TP_plc = configfile.getString("sat_TP_plc", "1");
|
||||
sat_TP_plm = configfile.getInt32("sat_TP_plm", 0);
|
||||
|
||||
cableName = configfile.getString("cableName", cableName);
|
||||
@@ -210,18 +210,9 @@ bool CScanSettings::saveSettings(const char * const fileName)
|
||||
configfile.setInt32("sat_TP_delsys", sat_TP_delsys);
|
||||
configfile.setInt32("sat_TP_mod", sat_TP_mod);
|
||||
configfile.setInt32("sat_TP_pilot", sat_TP_pilot);
|
||||
if (atoi(sat_TP_pli.c_str()) == 0)
|
||||
{
|
||||
configfile.setString("sat_TP_pli", "0");
|
||||
configfile.setString("sat_TP_plc", "0");
|
||||
configfile.setInt32("sat_TP_plm", 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
configfile.setString("sat_TP_pli", sat_TP_pli);
|
||||
configfile.setString("sat_TP_plc", sat_TP_plc);
|
||||
configfile.setInt32("sat_TP_plm", sat_TP_plm);
|
||||
}
|
||||
configfile.setString("sat_TP_pli", sat_TP_pli);
|
||||
configfile.setString("sat_TP_plc", sat_TP_plc);
|
||||
configfile.setInt32("sat_TP_plm", sat_TP_plm);
|
||||
|
||||
configfile.setString("cableName", cableName);
|
||||
configfile.setInt32("cable_TP_fec", cable_TP_fec);
|
||||
@@ -240,10 +231,7 @@ bool CScanSettings::saveSettings(const char * const fileName)
|
||||
configfile.setInt32("terrestrial_TP_guard", terrestrial_TP_guard);
|
||||
configfile.setInt32("terrestrial_TP_transmit_mode", terrestrial_TP_transmit_mode);
|
||||
configfile.setInt32("terrestrial_TP_delsys", terrestrial_TP_delsys);
|
||||
if (atoi(terrestrial_TP_pli.c_str()) == 0)
|
||||
configfile.setString("terrestrial_TP_pli", "0");
|
||||
else
|
||||
configfile.setString("terrestrial_TP_pli", terrestrial_TP_pli);
|
||||
configfile.setString("terrestrial_TP_pli", terrestrial_TP_pli);
|
||||
|
||||
if(configfile.getModifiedFlag())
|
||||
configfile.saveConfig(fileName);
|
||||
|
Reference in New Issue
Block a user