From 2c6c014dd8ace978f36c0bbc4c1c2790b9018798 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 13 Jan 2025 12:34:18 +0100 Subject: [PATCH] Checking for VPS control is now limited to local timers --- HISTORY | 3 ++- timers.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index 26798382..00fe4b3b 100644 --- a/HISTORY +++ b/HISTORY @@ -10034,7 +10034,7 @@ Video Disk Recorder Revision History (suggested by Stefan Hofmann). - Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann). -2025-01-10: +2025-01-13: - Removed all DEPRECATED_* code. - Fixed error checking in case the fps value can't be determined by the frame parser. @@ -10048,3 +10048,4 @@ Video Disk Recorder Revision History - Fixed accessing a timer's event schedule in case the event has been removed from the schedule. - Fixed a possible deadlock when canceling an editing process. +- Checking for VPS control is now limited to local timers. diff --git a/timers.c b/timers.c index 53b1bdf5..7854941e 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.23 2025/01/10 16:11:02 kls Exp $ + * $Id: timers.c 5.24 2025/01/13 12:34:18 kls Exp $ */ #include "timers.h" @@ -612,7 +612,7 @@ bool cTimer::Matches(time_t t, bool Directly, int Margin) const return false; deferred = 0; - if (HasFlags(tfActive)) { + if (HasFlags(tfActive) && !Remote()) { if (event) { if (HasFlags(tfVps)) { if (event->Vps()) {