summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-04-06 10:00:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-04-06 10:00:27 +0200
commitd536cf0947a622d4d819f038f93e3828180d835e (patch)
tree336f03f59a818c79d38eba1ab37df64693afc876
parent19a0e3cda769aff7079e891a0cbcccb7329b00d3 (diff)
downloadvdr-d536cf0947a622d4d819f038f93e3828180d835e.tar.gz
vdr-d536cf0947a622d4d819f038f93e3828180d835e.tar.bz2
No longer switching devices for pattern timers
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--vdr.c4
3 files changed, 4 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 854aad37..9e865a94 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -3651,6 +3651,7 @@ Helmut Binder <cco@aon.at>
PMT pid were checked any more
for reporting a problem with PMT handling in case locking the Channels list times out
for avoiding a lengthy lock on the Channels list when starting a recording
+ for preventing switching devices for pattern timers
Ulrich Eckhardt <uli@uli-eckhardt.de>
for reporting a problem with shutdown after user inactivity in case a plugin is
diff --git a/HISTORY b/HISTORY
index 0471c9db..f2611176 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9638,3 +9638,4 @@ Video Disk Recorder Revision History
- Fixed handling the timer counter in cSchedule::DelEvent().
- Fixed MakePatternFileName() in case the event doesn't yet have a short text (reported
by Jürgen Schneider).
+- No longer switching devices for pattern timers (thanks to Helmut Binder).
diff --git a/vdr.c b/vdr.c
index d3a29872..433645ae 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 5.2 2021/04/06 08:48:35 kls Exp $
+ * $Id: vdr.c 5.3 2021/04/06 10:00:27 kls Exp $
*/
#include <getopt.h>
@@ -1136,7 +1136,7 @@ int main(int argc, char *argv[])
if (Now - LastTimerCheck > TIMERCHECKDELTA) { // don't do this too often
InhibitEpgScan = false;
for (cTimer *Timer = Timers->First(); Timer; Timer = Timers->Next(Timer)) {
- if (Timer->Remote())
+ if (Timer->Remote() || Timer->IsPatternTimer())
continue;
bool InVpsMargin = false;
bool NeedsTransponder = false;