mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-16 09:53:43 +02:00
-add: fta channels scan option (for Dr.Dish ;)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@252 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -933,6 +933,7 @@ typedef enum {
|
||||
LOCALE_SATSETUP_AUTO_SCAN,
|
||||
LOCALE_SATSETUP_AUTO_SCAN_ALL,
|
||||
LOCALE_SATSETUP_MANUAL_SCAN,
|
||||
LOCALE_SATSETUP_USE_FTA_FLAG,
|
||||
LOCALE_SATSETUP_USE_NIT,
|
||||
LOCALE_SATSETUP_USE_USALS,
|
||||
LOCALE_SATSETUP_USALS_REPEAT,
|
||||
|
@@ -933,6 +933,7 @@ const char *locale_real_names[] = {
|
||||
"satsetup.auto_scan",
|
||||
"satsetup.auto_scan_all",
|
||||
"satsetup.manual_scan",
|
||||
"satsetup.use_fta_flag",
|
||||
"satsetup.use_nit",
|
||||
"satsetup.use_usals",
|
||||
"satsetup.usals_repeat",
|
||||
|
@@ -162,6 +162,7 @@ bool CScanSettings::loadSettings(const char * const fileName, const delivery_sys
|
||||
scanType=(CZapitClient::scanType) configfile.getInt32("scanType", scanType);
|
||||
strcpy(satNameNoDiseqc, configfile.getString("satNameNoDiseqc", satNameNoDiseqc).c_str());
|
||||
|
||||
scan_fta_flag = configfile.getInt32("scan_fta_flag", 0);
|
||||
scan_mode = configfile.getInt32("scan_mode", 1); // NIT (0) or fast (1)
|
||||
TP_fec = configfile.getInt32("TP_fec", 1);
|
||||
TP_pol = configfile.getInt32("TP_pol", 0);
|
||||
@@ -184,6 +185,7 @@ bool CScanSettings::saveSettings(const char * const fileName)
|
||||
configfile.setInt32( "scanType", scanType );
|
||||
configfile.setString( "satNameNoDiseqc", satNameNoDiseqc );
|
||||
|
||||
configfile.setInt32("scan_fta_flag", scan_fta_flag);
|
||||
configfile.setInt32("scan_mode", scan_mode);
|
||||
configfile.setInt32("TP_fec", TP_fec);
|
||||
configfile.setInt32("TP_pol", TP_pol);
|
||||
|
@@ -368,7 +368,7 @@ struct SNeutrinoSettings
|
||||
};
|
||||
int lcd_setting[LCD_SETTING_COUNT];
|
||||
|
||||
char lcd_setting_dim_time[4];
|
||||
char lcd_setting_dim_time[4];
|
||||
char lcd_setting_dim_brightness[4];
|
||||
|
||||
#define FILESYSTEM_ENCODING_TO_UTF8(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a).c_str())
|
||||
@@ -407,7 +407,7 @@ struct SNeutrinoSettings
|
||||
int filebrowser_showrights;
|
||||
int filebrowser_sortmethod;
|
||||
int filebrowser_denydirectoryleave;
|
||||
|
||||
|
||||
//uboot
|
||||
int uboot_lcd_inverse;
|
||||
int uboot_lcd_contrast;
|
||||
@@ -524,6 +524,7 @@ class CScanSettings
|
||||
delivery_system_t delivery_system;
|
||||
int scanSectionsd;
|
||||
int scan_mode;
|
||||
int scan_fta_flag;
|
||||
int TP_fec;
|
||||
int TP_pol;
|
||||
int TP_mod;
|
||||
|
Reference in New Issue
Block a user