summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-14 17:37:21 +0100
committerhorchi <vdr@jwendel.de>2018-02-14 17:37:21 +0100
commite952e39574b180ebc50b383699b5c1fe201155ef (patch)
tree646810e9dadc9024d45ad7c897159f5c1df0ad23
parent1165611e68422b1637ed84f2ca26d9566d3cc6fd (diff)
downloadvdr-epg-daemon-e952e39574b180ebc50b383699b5c1fe201155ef.tar.gz
vdr-epg-daemon-e952e39574b180ebc50b383699b5c1fe201155ef.tar.bz2
2018-02-14: version 1.1.134 (horchi)\n - bugfix: Fixed handling of timer type change by WEBIF\n\n1.1.134
-rw-r--r--HISTORY.h5
-rw-r--r--webstore.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 9e9cbde..83f2b84 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -4,7 +4,7 @@
* -----------------------------------
*/
-#define _VERSION "1.1.133"
+#define _VERSION "1.1.134"
#define VERSION_DATE "14.02.2018"
#define DB_API 6
@@ -18,6 +18,9 @@
* ------------------------------------
*
+2018-02-14: version 1.1.134 (horchi)
+ - bugfix: Fixed handling of timer type change by WEBIF
+
2018-02-14: version 1.1.133 (horchi)
- bugfix: Fixed display of external timer in WEBIF lists
diff --git a/webstore.c b/webstore.c
index c8aff7e..adfc049 100644
--- a/webstore.c
+++ b/webstore.c
@@ -369,7 +369,7 @@ int cEpgHttpd::storeTimerJob(json_t* jInData, json_t* response)
//***************************************************************************
// Modify Timer (copy paste from cMenuDb of epg2vdr)
//
-// - timerRow contains the destination vdrUuid
+// - timerRow contains the new/modified values
//***************************************************************************
int cEpgHttpd::modifyCreateTimer(cDbRow* timerRow)
@@ -405,6 +405,11 @@ int cEpgHttpd::modifyCreateTimer(cDbRow* timerRow)
if (!timerDb->hasValue("VDRUUID", timerRow->getStrValue("VDRUUID")))
move = yes;
+
+ // move to another timer type?
+
+ if (!timerDb->hasValue("TYPE", timerRow->getStrValue("TYPE")))
+ move = yes;
}
else
{