diff options
author | horchi <vdr@jwendel.de> | 2018-02-08 21:02:26 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-02-08 21:02:26 +0100 |
commit | 063d587d5868356abc6550e504c5a75eb34dd772 (patch) | |
tree | 090cce71f07b10856f277d1b27a7a573fe35ced2 /webstore.c | |
parent | c676f22efe2d89752f21ae135447c238239bb794 (diff) | |
download | vdr-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |