summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);