summaryrefslogtreecommitdiff
path: root/epgsearchtools.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchtools.c')
-rw-r--r--epgsearchtools.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epgsearchtools.c b/epgsearchtools.c
index 614248a..7890eb4 100644
--- a/epgsearchtools.c
+++ b/epgsearchtools.c
@@ -428,6 +428,11 @@ bool InEditMode(const char* ItemText, const char* ItemName, const char* ItemValu
// checks if the timer was triggered from a search timer and return a pointer to the search
cSearchExt* TriggeredFromSearchTimer(const cTimer* timer)
{
+// searches will create local timers only.
+// But, an epgsearch running on a remote VDR might create a timer. And this timer has a search ID ...
+// Therefore, we must first ensure that the timer is local
+ if(timer->Remote())
+ return NULL;
char* searchID = GetAuxValue(timer, "s-id");
if (!searchID)
return NULL;