summaryrefslogtreecommitdiff
path: root/services.c
diff options
context:
space:
mode:
Diffstat (limited to 'services.c')
-rw-r--r--services.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/services.c b/services.c
index 02b9934..6e5f9c4 100644
--- a/services.c
+++ b/services.c
@@ -146,16 +146,14 @@ std::list<std::string> cEpgsearchServiceHandler::TranslateResults(cSearchResults
eTimerMatch timerMatch;
bool hasTimer = false;
LOCK_TIMERS_READ;
- const cTimers *vdrtimers = Timers;
- if (vdrtimers->GetMatch(pEvent, &timerMatch))
+ if (Timers->GetMatch(pEvent, &timerMatch))
hasTimer = (timerMatch == tmFull);
if (!result->search->useAsSearchTimer)
result->needsTimer = false;
LOCK_CHANNELS_READ;
- const cChannels *vdrchannels = Channels;
- const cChannel *channel = vdrchannels->GetByChannelID(pEvent->ChannelID(), true, true);
+ const cChannel *channel = Channels->GetByChannelID(pEvent->ChannelID(), true, true);
int timerMode = hasTimer?1:(result->needsTimer?2:0);
std::string title = pEvent->Title()?ReplaceAll(pEvent->Title(), "|", "!^pipe!^"):"";