summaryrefslogtreecommitdiff
path: root/menu_myedittimer.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-07-09 19:50:54 +0200
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-07-09 19:50:54 +0200
commitb5cf08c390c12ecc2be232fa336311fa4c73c541 (patch)
treed577674c6e3d092ce1d717071aa1a4e2aa0f57c1 /menu_myedittimer.c
parent5a0aa41728efdce4931cce6b527040459d12518b (diff)
downloadvdr-plugin-epgsearch-b5cf08c390c12ecc2be232fa336311fa4c73c541.tar.gz
vdr-plugin-epgsearch-b5cf08c390c12ecc2be232fa336311fa4c73c541.tar.bz2
ignore manual timers in the update check that were edited by the user
Diffstat (limited to 'menu_myedittimer.c')
-rw-r--r--menu_myedittimer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/menu_myedittimer.c b/menu_myedittimer.c
index 6445ab5..a8854ee 100644
--- a/menu_myedittimer.c
+++ b/menu_myedittimer.c
@@ -357,6 +357,11 @@ eOSState cMenuMyEditTimer::ProcessKey(eKeys Key)
aux = UpdateAuxValue(aux, "eventid", event->EventID());
aux = UpdateAuxValue(aux, "bstart", bstart);
aux = UpdateAuxValue(aux, "bstop", bstop);
+ if (addIfConfirmed) // do not update start and stop time in aux if this is an existing timer, we need this to detect manual editing
+ {
+ aux = UpdateAuxValue(aux, "start", startTime);
+ aux = UpdateAuxValue(aux, "stop", stopTime);
+ }
fullaux = UpdateAuxValue(fullaux, "epgsearch", aux);
}