From 07bc699dca7e9cedf2cd1255765f0d0b661c3a97 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Sep 2003 09:38:44 +0200 Subject: Made 'diseqc.conf' a required file only if Setup.DiSEqC is activated --- CONTRIBUTORS | 1 + HISTORY | 4 +++- vdr.c | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2a7b7ef7..357617c5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -747,6 +747,7 @@ Jon Burgess Thomas Schmidt for reporting a crash when cancelling a newly created timer + for making 'diseqc.conf' a required file only if Setup.DiSEqC is activated Michael Walle for reporting a bug in channel switching after Left/Right has been pressed diff --git a/HISTORY b/HISTORY index 420d27d0..dbad821f 100644 --- a/HISTORY +++ b/HISTORY @@ -2376,7 +2376,7 @@ Video Disk Recorder Revision History is active (sometimes the CAMs got irritated when the device tuned to channels they couldn't handle). -2003-09-09: Version 1.2.5 +2003-09-14: Version 1.2.5 - Fixed dropping out of replay mode while viewing a recording that is still going on (thanks to Oliver Endriss for reporting and helping to debug this @@ -2387,3 +2387,5 @@ Video Disk Recorder Revision History - Removed the obsolete chapter "Stopping a recording on the primary DVB interface" from MANUAL. - Completed Dutch language texts (thanks to Hans Dingemans). +- Made 'diseqc.conf' a required file only if Setup.DiSEqC is activated (thanks to + Thomas Schmidt). diff --git a/vdr.c b/vdr.c index cdc460ea..e4874afc 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.168 2003/09/05 13:14:16 kls Exp $ + * $Id: vdr.c 1.169 2003/09/14 09:36:54 kls Exp $ */ #include @@ -346,7 +346,7 @@ int main(int argc, char *argv[]) Setup.Load(AddDirectory(ConfigDirectory, "setup.conf")); if (!(Sources.Load(AddDirectory(ConfigDirectory, "sources.conf"), true, true) && - Diseqcs.Load(AddDirectory(ConfigDirectory, "diseqc.conf"), true, true) && + Diseqcs.Load(AddDirectory(ConfigDirectory, "diseqc.conf"), true, Setup.DiSEqC) && Channels.Load(AddDirectory(ConfigDirectory, "channels.conf"), false, true) && Timers.Load(AddDirectory(ConfigDirectory, "timers.conf")) && Commands.Load(AddDirectory(ConfigDirectory, "commands.conf"), true) && -- cgit v1.2.3