mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- neutrino: pause sectionsd and set video blank before epg gets saved @standby
- some indentation fixes git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1614 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -3549,26 +3549,28 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
|
|||||||
wasshift = CRecordManager::getInstance()->StopAutoRecord();
|
wasshift = CRecordManager::getInstance()->StopAutoRecord();
|
||||||
|
|
||||||
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
||||||
if(g_settings.epg_save)
|
|
||||||
saveEpg();
|
|
||||||
|
|
||||||
g_Zapit->setStandby(true);
|
g_Zapit->setStandby(true);
|
||||||
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
|
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
|
||||||
} else
|
} else {
|
||||||
g_Zapit->stopPlayBack();
|
g_Zapit->stopPlayBack();
|
||||||
|
}
|
||||||
|
|
||||||
videoDecoder->Standby(true);
|
videoDecoder->Standby(true);
|
||||||
|
|
||||||
g_Sectionsd->setServiceChanged(0, false);
|
g_Sectionsd->setServiceChanged(0, false);
|
||||||
g_Sectionsd->setPauseScanning(true);
|
g_Sectionsd->setPauseScanning(true);
|
||||||
#if 0
|
|
||||||
if(g_settings.epg_save) {
|
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
||||||
saveEpg();
|
//only save epg when not recording
|
||||||
|
if(g_settings.epg_save) {
|
||||||
|
saveEpg();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if(g_settings.mode_clock)
|
if(g_settings.mode_clock) {
|
||||||
InfoClock->StopClock();
|
InfoClock->StopClock();
|
||||||
|
}
|
||||||
|
|
||||||
//remember tuned channel-id
|
//remember tuned channel-id
|
||||||
standby_channel_id = live_channel_id;
|
standby_channel_id = live_channel_id;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user