mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
src/neutrino.cpp: dont zap on record announce if same channel
This commit is contained in:
@@ -2678,11 +2678,11 @@ _repeat:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( g_settings.recording_zap_on_announce && (mode != mode_standby) ) {
|
if( g_settings.recording_zap_on_announce && (mode != mode_standby) && (eventinfo->channel_id != CZapit::getInstance()->GetCurrentChannelID())) {
|
||||||
//TODO check transponder ?
|
//TODO check transponder ?
|
||||||
CRecordManager::getInstance()->StopAutoRecord();
|
CRecordManager::getInstance()->StopAutoRecord();
|
||||||
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
||||||
dvbsub_stop(); //FIXME if same channel ?
|
dvbsub_stop();
|
||||||
t_channel_id channel_id=eventinfo->channel_id;
|
t_channel_id channel_id=eventinfo->channel_id;
|
||||||
g_Zapit->zapTo_serviceID_NOWAIT(channel_id);
|
g_Zapit->zapTo_serviceID_NOWAIT(channel_id);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user