summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-04-06 14:25:05 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-04-06 14:25:05 +0200
commit4e52547a59c14f619b053e2731a413221d65647f (patch)
treee766991e4ee57dd135706587422f0d8a74fcd460
parentd3755c92d793f964e8b5d3d4940da76c3552fa8d (diff)
downloadvdr-4e52547a59c14f619b053e2731a413221d65647f.tar.gz
vdr-4e52547a59c14f619b053e2731a413221d65647f.tar.bz2
cTimer::TriggerRespawn() now only acts on local timers2.5.2
-rw-r--r--HISTORY1
-rw-r--r--timers.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index c402faaf..b20a80ef 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9639,3 +9639,4 @@ Video Disk Recorder Revision History
- 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).
+- cTimer::TriggerRespawn() now only acts on local timers.
diff --git a/timers.c b/timers.c
index 2d66b62d..1dc3c75a 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 5.8 2021/04/06 09:50:30 kls Exp $
+ * $Id: timers.c 5.9 2021/04/06 14:25:05 kls Exp $
*/
#include "timers.h"
@@ -795,7 +795,7 @@ bool cTimer::AdjustSpawnedTimer(void)
void cTimer::TriggerRespawn(void)
{
- if (HasFlags(tfSpawned) || IsPatternTimer()) {
+ if (Local() && HasFlags(tfSpawned) || IsPatternTimer()) {
if (Channel()) {
LOCK_CHANNELS_READ;
if (const cSchedule *Schedule = Channel()->Schedule()) {