mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Made the log messages regarding lost lock of devices "info" instead of "error"
This commit is contained in:
parent
cd43adac92
commit
dea4bf298a
@ -859,6 +859,8 @@ Andreas Brachold <vdr04@deltab.de>
|
||||
info available
|
||||
for implementing the SVDRP command MOVC
|
||||
for fixing the "plugins-clean" and "plugins-install" targets in the Makefile
|
||||
for suggesting to make the log messages regarding lost lock of devices "info"
|
||||
instead of "error"
|
||||
|
||||
Manuel Hartl <icecep@gmx.net>
|
||||
for suggesting to extend the logging info when starting/stopping timers
|
||||
|
2
HISTORY
2
HISTORY
@ -4172,3 +4172,5 @@ Video Disk Recorder Revision History
|
||||
(reported by Philippe Gramoullé).
|
||||
- Made the "What's on now/next?" menus a lot faster by storing a pointer to each
|
||||
channel's schedule in the cChannel data.
|
||||
- Made the log messages regarding lost lock of devices "info" instead of "error"
|
||||
(suggested by Andreas Brachold).
|
||||
|
10
dvbdevice.c
10
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 1.149 2006/01/07 15:15:01 kls Exp $
|
||||
* $Id: dvbdevice.c 1.150 2006/01/14 15:57:36 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbdevice.h"
|
||||
@ -314,7 +314,7 @@ void cDvbTuner::Action(void)
|
||||
tunerStatus = tsSet;
|
||||
diseqcCommands = NULL;
|
||||
if (time(NULL) - lastTimeoutReport > 60) { // let's not get too many of these
|
||||
esyslog("ERROR: frontend %d timed out while tuning to channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
|
||||
isyslog("frontend %d timed out while tuning to channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
|
||||
lastTimeoutReport = time(NULL);
|
||||
}
|
||||
continue;
|
||||
@ -323,13 +323,13 @@ void cDvbTuner::Action(void)
|
||||
if (Status & FE_REINIT) {
|
||||
tunerStatus = tsSet;
|
||||
diseqcCommands = NULL;
|
||||
esyslog("ERROR: frontend %d was reinitialized", cardIndex);
|
||||
isyslog("frontend %d was reinitialized", cardIndex);
|
||||
lastTimeoutReport = 0;
|
||||
continue;
|
||||
}
|
||||
else if (Status & FE_HAS_LOCK) {
|
||||
if (LostLock) {
|
||||
esyslog("frontend %d regained lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
|
||||
isyslog("frontend %d regained lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
|
||||
LostLock = false;
|
||||
}
|
||||
tunerStatus = tsLocked;
|
||||
@ -338,7 +338,7 @@ void cDvbTuner::Action(void)
|
||||
}
|
||||
else if (tunerStatus == tsLocked) {
|
||||
LostLock = true;
|
||||
esyslog("ERROR: frontend %d lost lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
|
||||
isyslog("frontend %d lost lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
|
||||
tunerStatus = tsTuned;
|
||||
Timer.Set(lockTimeout);
|
||||
lastTimeoutReport = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user