summaryrefslogtreecommitdiff
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
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
-rw-r--r--HISTORY.h5
-rw-r--r--webstore.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 4a90fd7..7284691 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -4,7 +4,7 @@
* -----------------------------------
*/
-#define _VERSION "1.1.127"
+#define _VERSION "1.1.128"
#define VERSION_DATE "08.02.2018"
#define DB_API 5
@@ -18,6 +18,9 @@
* ------------------------------------
*
+2018-02-08: version 1.1.128 (horchi)
+ - change: dont store 'switch' timer to timersdone
+
2018-02-08: version 1.1.127 (horchi)
- change: store timer type to support 'switch' timer
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);