src/neutrino.cpp: dont zap on record announce if same channel

Origin commit data
------------------
Commit: 38479e11bf
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-29 (Mon, 29 Oct 2012)
This commit is contained in:
Jacek Jendrzej
2012-10-29 12:42:34 +01:00
parent 407f4fa3e9
commit 7689479d21

View File

@@ -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 ?
CRecordManager::getInstance()->StopAutoRecord();
if(!CRecordManager::getInstance()->RecordingStatus()) {
dvbsub_stop(); //FIXME if same channel ?
dvbsub_stop();
t_channel_id channel_id=eventinfo->channel_id;
g_Zapit->zapTo_serviceID_NOWAIT(channel_id);
}