summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-03-15 14:51:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2019-03-15 14:51:22 +0100
commitdc160ab5705455db52c18fda26409ffedad856f0 (patch)
tree1cdbbc8e3501a793cccf0e9d0187c8869766f3ae
parent4c7efcbd02d4557981d8faa27ffe7681372c2dc5 (diff)
downloadvdr-dc160ab5705455db52c18fda26409ffedad856f0.tar.gz
vdr-dc160ab5705455db52c18fda26409ffedad856f0.tar.bz2
No longer logging tuning timeouts for transponders that are announced in the NIT but are not currently broadcasting
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 5f290488..9d027eb3 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9381,3 +9381,5 @@ Video Disk Recorder Revision History
- Fixed processing transponder data in the NIT (thanks to Helmut Binder).
- Fixed triggering the SDT filter when parsing the NIT (thanks to Helmut Binder).
- Added support for EAC3 audio from other sources (thanks to Jürgen Schneider).
+- No longer logging tuning timeouts for transponders that are announced in the NIT but
+ are not currently broadcasting.
diff --git a/dvbdevice.c b/dvbdevice.c
index 9835645b..2763bf66 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 4.19 2019/03/10 12:03:20 kls Exp $
+ * $Id: dvbdevice.c 4.20 2019/03/15 14:49:44 kls Exp $
*/
#include "dvbdevice.h"
@@ -1711,7 +1711,8 @@ void cDvbTuner::Action(void)
lastDiseqc = NULL;
lastSource = 0;
if (time(NULL) - lastTimeoutReport > 60) { // let's not get too many of these
- isyslog("frontend %d/%d timed out while tuning to channel %d (%s), tp %d", adapter, frontend, channel.Number(), channel.Name(), channel.Transponder());
+ if (channel.Number()) // no need to log this for transponders that are announced in the NIT but are not currently broadcasting
+ isyslog("frontend %d/%d timed out while tuning to channel %d (%s), tp %d", adapter, frontend, channel.Number(), channel.Name(), channel.Transponder());
lastTimeoutReport = time(NULL);
}
continue;