mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
settings: add option to enable/disable slow record warning
This commit is contained in:
@@ -199,6 +199,10 @@ int CRecordSetup::showRecordSetup()
|
||||
end_of_recording->setHint("", LOCALE_MENU_HINT_RECORD_END);
|
||||
recordingSettings->addItem(end_of_recording);
|
||||
|
||||
CMenuOptionChooser* slow_warn = new CMenuOptionChooser(LOCALE_RECORDINGMENU_SLOW_WARN, &g_settings.recording_slow_warning, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
slow_warn->setHint("", LOCALE_MENU_HINT_RECORD_SLOW_WARN);
|
||||
recordingSettings->addItem(slow_warn);
|
||||
|
||||
//template
|
||||
//CStringInput recordingSettings_filenameTemplate(LOCALE_RECORDINGMENU_FILENAME_TEMPLATE, &g_settings.recording_filename_template[0], 21, LOCALE_RECORDINGMENU_FILENAME_TEMPLATE_HINT, LOCALE_IPSETUP_HINT_2, "%/-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ");
|
||||
//CMenuForwarder* mf11 = new CMenuForwarder(LOCALE_RECORDINGMENU_FILENAME_TEMPLATE, true, g_settings.recording_filename_template[0], &recordingSettings_filenameTemplate);
|
||||
|
@@ -590,6 +590,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.recording_epg_for_filename = configfile.getBool("recording_epg_for_filename" , true);
|
||||
g_settings.recording_epg_for_end = configfile.getBool("recording_epg_for_end" , false);
|
||||
g_settings.recording_save_in_channeldir = configfile.getBool("recording_save_in_channeldir" , false);
|
||||
g_settings.recording_slow_warning = configfile.getBool("recording_recording_slow_warning" , true);
|
||||
|
||||
// default plugin for movieplayer
|
||||
g_settings.movieplayer_plugin = configfile.getString( "movieplayer_plugin", "Teletext" );
|
||||
@@ -1004,6 +1005,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
configfile.setBool ("recording_epg_for_filename" , g_settings.recording_epg_for_filename );
|
||||
configfile.setBool ("recording_epg_for_end" , g_settings.recording_epg_for_end );
|
||||
configfile.setBool ("recording_save_in_channeldir" , g_settings.recording_save_in_channeldir );
|
||||
configfile.setBool ("recording_slow_warning" , g_settings.recording_slow_warning );
|
||||
|
||||
// default plugin for movieplayer
|
||||
configfile.setString ( "movieplayer_plugin", g_settings.movieplayer_plugin );
|
||||
|
@@ -326,6 +326,7 @@ struct SNeutrinoSettings
|
||||
int recording_epg_for_end;
|
||||
int recording_save_in_channeldir;
|
||||
int recording_zap_on_announce;
|
||||
int recording_slow_warning;
|
||||
int shutdown_timer_record_type;
|
||||
|
||||
int filesystem_is_utf8;
|
||||
|
Reference in New Issue
Block a user