mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Setup.EPGScanTimeout == 0 completely turns off EPG scanning
This commit is contained in:
parent
e18918ad06
commit
377b15b535
2
HISTORY
2
HISTORY
@ -402,3 +402,5 @@ Video Disk Recorder Revision History
|
|||||||
- Support for DVB-C (thanks to Hans-Peter Raschke and Peter Hofmann).
|
- Support for DVB-C (thanks to Hans-Peter Raschke and Peter Hofmann).
|
||||||
See the INSTALL file for more information about the use of VDR with cable.
|
See the INSTALL file for more information about the use of VDR with cable.
|
||||||
- Fixed an occasional segfault in the EIT processor.
|
- Fixed an occasional segfault in the EIT processor.
|
||||||
|
- A value of '0' for the EPGScanTimeout setup parameter now completely turns off
|
||||||
|
scanning for EPG data on both single and multiple card systems.
|
||||||
|
3
MANUAL
3
MANUAL
@ -326,7 +326,8 @@ Video Disk Recorder User's Manual
|
|||||||
EPGScanTimeout = 5 The time (in hours) of user inactivity after which the
|
EPGScanTimeout = 5 The time (in hours) of user inactivity after which the
|
||||||
DVB card in a single card system starts scanning channels
|
DVB card in a single card system starts scanning channels
|
||||||
to keep the EPG up-to-date.
|
to keep the EPG up-to-date.
|
||||||
A value of '0' turns off scanning on a single card system.
|
A value of '0' completely turns off scanning on both single
|
||||||
|
and multiple card systems.
|
||||||
|
|
||||||
SVDRPTimeout = 300 The time (in seconds) of inactivity on an open SVDRP
|
SVDRPTimeout = 300 The time (in seconds) of inactivity on an open SVDRP
|
||||||
connection after which the connection is automatically
|
connection after which the connection is automatically
|
||||||
|
4
dvbapi.c
4
dvbapi.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbapi.c 1.59 2001/02/20 17:40:57 kls Exp $
|
* $Id: dvbapi.c 1.60 2001/02/24 12:18:30 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -2395,7 +2395,7 @@ void cEITScanner::Activity(void)
|
|||||||
|
|
||||||
void cEITScanner::Process(void)
|
void cEITScanner::Process(void)
|
||||||
{
|
{
|
||||||
if (Channels.MaxNumber() > 1) {
|
if (Setup.EPGScanTimeout && Channels.MaxNumber() > 1) {
|
||||||
time_t now = time(NULL);
|
time_t now = time(NULL);
|
||||||
if (now - lastScan > ScanTimeout && now - lastActivity > ActivityTimeout) {
|
if (now - lastScan > ScanTimeout && now - lastActivity > ActivityTimeout) {
|
||||||
for (int i = 0; i < cDvbApi::NumDvbApis; i++) {
|
for (int i = 0; i < cDvbApi::NumDvbApis; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user