summaryrefslogtreecommitdiff
path: root/webstore.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-08 21:02:26 +0100
committerhorchi <vdr@jwendel.de>2018-02-08 21:02:26 +0100
commit063d587d5868356abc6550e504c5a75eb34dd772 (patch)
tree090cce71f07b10856f277d1b27a7a573fe35ced2 /webstore.c
parentc676f22efe2d89752f21ae135447c238239bb794 (diff)
downloadvdr-epg-daemon-063d587d5868356abc6550e504c5a75eb34dd772.tar.gz
vdr-epg-daemon-063d587d5868356abc6550e504c5a75eb34dd772.tar.bz2
2018-02-08: version 1.1.128 (horchi)\n - change: dont store 'switch' timer to timersdone\n\n1.1.128
Diffstat (limited to 'webstore.c')
-rw-r--r--webstore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/webstore.c b/webstore.c
index c5f9c8d..48fe68e 100644
--- a/webstore.c
+++ b/webstore.c
@@ -185,6 +185,7 @@ int cEpgHttpd::storeTimerJob(json_t* jInData, json_t* response)
int eventid = getIntFromJson(jInData, "eventid", na);
int timerid = getIntFromJson(jInData, "id", na);
time_t day = getIntFromJson(jInData, "day", na);
+ const char* type = getStringFromJson(jInData, "type", "");
if (eventid != na)
{
@@ -244,7 +245,7 @@ int cEpgHttpd::storeTimerJob(json_t* jInData, json_t* response)
getParameter("epgd", "manualTimer2Done", manualTimer2Done);
- if (timerid == na && manualTimer2Done)
+ if (timerid == na && manualTimer2Done && *type != ttView)
{
timersDoneDb->clear();
timersDoneDb->setCharValue("STATE", tdsTimerRequested);