move max. recording time setting to rec. mainmenu settings as it affects both: recording and timeshift

- change locals
- whitespace cleanup

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1963 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: f323ffceb1
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-12-09 (Fri, 09 Dec 2011)

Origin message was:
------------------
- move max. recording time setting to rec. mainmenu settings as it affects both: recording and timeshift
- change locals
- whitespace cleanup

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1963 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2011-12-09 15:09:40 +00:00
parent 237a4b8f56
commit fd7b1344b5
3 changed files with 30 additions and 30 deletions

View File

@@ -384,7 +384,7 @@ extra.longitude Längengrad
extra.manual_scan Manueller Scan extra.manual_scan Manueller Scan
extra.menu_left_exit "links" = Menü zurück extra.menu_left_exit "links" = Menü zurück
extra.north Norden extra.north Norden
extra.record_time Timeshift Aufnahmezeit in Stunden extra.record_time Max. Aufnahmezeit in Stunden
extra.rotor_swap Rotor dreht Ost/West extra.rotor_swap Rotor dreht Ost/West
extra.rounded_corners Eckendarstellung extra.rounded_corners Eckendarstellung
extra.rounded_corners_off eckig extra.rounded_corners_off eckig

View File

@@ -384,7 +384,7 @@ extra.longitude Longitude
extra.manual_scan Manual scan extra.manual_scan Manual scan
extra.menu_left_exit "Left" = menu back extra.menu_left_exit "Left" = menu back
extra.north North extra.north North
extra.record_time Fast/timeshift record time(hours) extra.record_time Max. recording time in hours
extra.rotor_swap Swap rotor east/west extra.rotor_swap Swap rotor east/west
extra.rounded_corners Shape of corners extra.rounded_corners Shape of corners
extra.rounded_corners_off angular extra.rounded_corners_off angular

View File

@@ -182,13 +182,16 @@ int CRecordSetup::showRecordSetup()
CMenuOptionChooser* channel_rec_dir = new CMenuOptionChooser(LOCALE_RECORDINGMENU_SAVE_IN_CHANNELDIR, &g_settings.recording_save_in_channeldir, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true); CMenuOptionChooser* channel_rec_dir = new CMenuOptionChooser(LOCALE_RECORDINGMENU_SAVE_IN_CHANNELDIR, &g_settings.recording_save_in_channeldir, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
recordingSettings->addItem(channel_rec_dir); recordingSettings->addItem(channel_rec_dir);
//rec hours
recordingSettings->addItem(new CMenuOptionNumberChooser(LOCALE_EXTRA_RECORD_TIME, &g_settings.record_hours, true, 1, 24, NULL) );
// end of recording // end of recording
CMenuOptionChooser* end_of_recording = new CMenuOptionChooser(LOCALE_RECORDINGMENU_END_OF_RECORDING_NAME, &g_settings.recording_epg_for_end, END_OF_RECORDING, END_OF_RECORDING_COUNT, true); CMenuOptionChooser* end_of_recording = new CMenuOptionChooser(LOCALE_RECORDINGMENU_END_OF_RECORDING_NAME, &g_settings.recording_epg_for_end, END_OF_RECORDING, END_OF_RECORDING_COUNT, true);
recordingSettings->addItem(end_of_recording); recordingSettings->addItem(end_of_recording);
// //template //template
// CStringInput * recordingSettings_filenameTemplate = new CStringInput(LOCALE_RECORDINGMENU_FILENAME_TEMPLATE, &g_settings.recording_filename_template[0], 21, LOCALE_RECORDINGMENU_FILENAME_TEMPLATE_HINT, LOCALE_IPSETUP_HINT_2, "%/-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 "); //CStringInput * recordingSettings_filenameTemplate = new CStringInput(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); //CMenuForwarder* mf11 = new CMenuForwarder(LOCALE_RECORDINGMENU_FILENAME_TEMPLATE, true, g_settings.recording_filename_template[0],recordingSettings_filenameTemplate);
recordingSettings->addItem(GenericMenuSeparatorLine); recordingSettings->addItem(GenericMenuSeparatorLine);
//timeshift //timeshift
@@ -243,7 +246,7 @@ void CRecordSetup::showRecordTimerSetup(CMenuWidget *menu_timersettings)
void CRecordSetup::showRecordAudioSetup(CMenuWidget *menu_audiosettings) void CRecordSetup::showRecordAudioSetup(CMenuWidget *menu_audiosettings)
{ {
// default recording audio pids //default recording audio pids
//CMenuWidget * apidMenu = new CMenuWidget(LOCALE_RECORDINGMENU_APIDS, NEUTRINO_ICON_AUDIO); //CMenuWidget * apidMenu = new CMenuWidget(LOCALE_RECORDINGMENU_APIDS, NEUTRINO_ICON_AUDIO);
//CMenuForwarder* fApidMenu = new CMenuForwarder(LOCALE_RECORDINGMENU_APIDS ,true, NULL, apidMenu); //CMenuForwarder* fApidMenu = new CMenuForwarder(LOCALE_RECORDINGMENU_APIDS ,true, NULL, apidMenu);
g_settings.recording_audio_pids_std = ( g_settings.recording_audio_pids_default & TIMERD_APIDS_STD ) ? 1 : 0 ; g_settings.recording_audio_pids_std = ( g_settings.recording_audio_pids_default & TIMERD_APIDS_STD ) ? 1 : 0 ;
@@ -270,9 +273,6 @@ void CRecordSetup::showRecordTimeShiftSetup(CMenuWidget *menu_ts)
CMenuForwarder* fTsDir = new CMenuForwarder(LOCALE_RECORDINGMENU_TSDIR, true, g_settings.timeshiftdir, this, "timeshiftdir"); CMenuForwarder* fTsDir = new CMenuForwarder(LOCALE_RECORDINGMENU_TSDIR, true, g_settings.timeshiftdir, this, "timeshiftdir");
menu_ts->addItem(fTsDir); menu_ts->addItem(fTsDir);
//rec hours
menu_ts->addItem(new CMenuOptionNumberChooser(LOCALE_EXTRA_RECORD_TIME, &g_settings.record_hours, true, 1, 24, NULL) );
if (1) //has_hdd if (1) //has_hdd
{ {
menu_ts->addItem(new CMenuOptionChooser(LOCALE_EXTRA_TIMESHIFT_PAUSE, &g_settings.timeshift_pause, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true)); menu_ts->addItem(new CMenuOptionChooser(LOCALE_EXTRA_TIMESHIFT_PAUSE, &g_settings.timeshift_pause, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true));