mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-27 07:11:05 +01:00
No longer logging tuning timeouts for transponders that are announced in the NIT but are not currently broadcasting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user