mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CNeutrinoApp::handleMsg:zap to rec channel in standby-mode
This commit is contained in:
@@ -2660,6 +2660,19 @@ _repeat:
|
|||||||
g_Zapit->zapTo_serviceID_NOWAIT(channel_id);
|
g_Zapit->zapTo_serviceID_NOWAIT(channel_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//zap to rec channel in standby-mode
|
||||||
|
if(mode == mode_standby){
|
||||||
|
CTimerd::RecordingInfo * eventinfo = (CTimerd::RecordingInfo *) data;
|
||||||
|
bool recordingStatus = CRecordManager::getInstance()->RecordingStatus(eventinfo->channel_id);
|
||||||
|
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
||||||
|
|
||||||
|
if( !recordingStatus && (eventinfo->channel_id != live_channel_id) && channelList->SameTP(eventinfo->channel_id) && !(SAME_TRANSPONDER(live_channel_id, eventinfo->channel_id)) ){
|
||||||
|
dvbsub_stop();
|
||||||
|
t_channel_id channel_id=eventinfo->channel_id;
|
||||||
|
g_Zapit->zapTo_serviceID_NOWAIT(channel_id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) {
|
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) {
|
||||||
CRecordManager::getInstance()->Record((CTimerd::RecordingInfo *) data);
|
CRecordManager::getInstance()->Record((CTimerd::RecordingInfo *) data);
|
||||||
autoshift = CRecordManager::getInstance()->TimeshiftOnly();
|
autoshift = CRecordManager::getInstance()->TimeshiftOnly();
|
||||||
|
Reference in New Issue
Block a user