1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

cTimer::TriggerRespawn() now only acts on local timers

This commit is contained in:
Klaus Schmidinger 2021-04-06 14:25:05 +02:00
parent d3755c92d7
commit 4e52547a59
2 changed files with 3 additions and 2 deletions

View File

@ -9639,3 +9639,4 @@ Video Disk Recorder Revision History
- Fixed MakePatternFileName() in case the event doesn't yet have a short text (reported - Fixed MakePatternFileName() in case the event doesn't yet have a short text (reported
by Jürgen Schneider). by Jürgen Schneider).
- No longer switching devices for pattern timers (thanks to Helmut Binder). - No longer switching devices for pattern timers (thanks to Helmut Binder).
- cTimer::TriggerRespawn() now only acts on local timers.

View File

@ -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: 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" #include "timers.h"
@ -795,7 +795,7 @@ bool cTimer::AdjustSpawnedTimer(void)
void cTimer::TriggerRespawn(void) void cTimer::TriggerRespawn(void)
{ {
if (HasFlags(tfSpawned) || IsPatternTimer()) { if (Local() && HasFlags(tfSpawned) || IsPatternTimer()) {
if (Channel()) { if (Channel()) {
LOCK_CHANNELS_READ; LOCK_CHANNELS_READ;
if (const cSchedule *Schedule = Channel()->Schedule()) { if (const cSchedule *Schedule = Channel()->Schedule()) {