mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
settings: add setting for CI clock and scan setting for cable NID
This commit is contained in:
@@ -163,6 +163,7 @@ bool CScanSettings::loadSettings(const char * const fileName, const delivery_sys
|
|||||||
scanSectionsd = configfile.getInt32("scanSectionsd", 0);
|
scanSectionsd = configfile.getInt32("scanSectionsd", 0);
|
||||||
fast_type = configfile.getInt32("fast_type", 1);
|
fast_type = configfile.getInt32("fast_type", 1);
|
||||||
fast_op = configfile.getInt32("fast_op", 0);
|
fast_op = configfile.getInt32("fast_op", 0);
|
||||||
|
cable_nid = configfile.getInt32("cable_nid", 0);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -186,6 +187,7 @@ bool CScanSettings::saveSettings(const char * const fileName)
|
|||||||
configfile.setInt32("scanSectionsd", scanSectionsd );
|
configfile.setInt32("scanSectionsd", scanSectionsd );
|
||||||
configfile.setInt32("fast_type", fast_type);
|
configfile.setInt32("fast_type", fast_type);
|
||||||
configfile.setInt32("fast_op", fast_op);
|
configfile.setInt32("fast_op", fast_op);
|
||||||
|
configfile.setInt32("cable_nid", fast_op);
|
||||||
|
|
||||||
if(configfile.getModifiedFlag())
|
if(configfile.getModifiedFlag())
|
||||||
configfile.saveConfig(fileName);
|
configfile.saveConfig(fileName);
|
||||||
|
@@ -101,6 +101,7 @@ struct SNeutrinoSettings
|
|||||||
int clockrec;
|
int clockrec;
|
||||||
int rounded_corners;
|
int rounded_corners;
|
||||||
int ci_standby_reset;
|
int ci_standby_reset;
|
||||||
|
int ci_clock;
|
||||||
int radiotext_enable;
|
int radiotext_enable;
|
||||||
|
|
||||||
//vcr
|
//vcr
|
||||||
@@ -658,6 +659,7 @@ public:
|
|||||||
char TP_rate[9];
|
char TP_rate[9];
|
||||||
int fast_type;
|
int fast_type;
|
||||||
int fast_op;
|
int fast_op;
|
||||||
|
int cable_nid;
|
||||||
|
|
||||||
CScanSettings();
|
CScanSettings();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user