summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-01-14 10:29:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2021-01-14 10:29:05 +0100
commit80bdc9065093caca1c1da7373dd25a6b52bb5774 (patch)
tree3458586adb90f0236e085fd8acdd5552619d4f04 /svdrp.c
parentc402d57809e42137b4294185ed0b27af312f7471 (diff)
downloadvdr-80bdc9065093caca1c1da7373dd25a6b52bb5774.tar.gz
vdr-80bdc9065093caca1c1da7373dd25a6b52bb5774.tar.bz2
Now explicitly triggering respawning of pattern timers
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/svdrp.c b/svdrp.c
index b3c4c350..b993577f 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 5.2 2021/01/01 21:23:00 kls Exp $
+ * $Id: svdrp.c 5.3 2021/01/14 10:29:05 kls Exp $
*/
#include "svdrp.h"
@@ -1484,6 +1484,7 @@ void cSVDRPServer::CmdDELT(const char *Option)
Timer->Skip();
cRecordControls::Process(Timers, time(NULL));
}
+ Timer->TriggerRespawn();
Timers->Del(Timer);
Timers->SetModified();
isyslog("SVDRP %s < %s deleted timer %s", Setup.SVDRPHostName, *clientName, *Timer->ToDescr());
@@ -2063,6 +2064,7 @@ void cSVDRPServer::CmdMODT(const char *Option)
isyslog("SVDRP %s < %s modified timer %s (%s)", Setup.SVDRPHostName, *clientName, *Timer->ToDescr(), Timer->HasFlags(tfActive) ? "active" : "inactive");
if (Timer->IsPatternTimer())
Timer->SetEvent(NULL);
+ Timer->TriggerRespawn();
Reply(250, "%d %s", Timer->Id(), *Timer->ToText(true));
}
else