diff options
author | TomJoad <TomJoad@vdr-portal.de> | 2017-05-26 13:45:37 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-26 13:45:37 +0200 |
commit | 5bbd4374d11d03ceca85c5b54691a80a4f897c47 (patch) | |
tree | dc0b2419239b9b9def909f02c88ff638ccb23990 /epgsearchext.c | |
parent | a4e8393ac7d7a5a81f38da3b82745d5206fafa96 (diff) | |
download | vdr-plugin-epgsearch-5bbd4374d11d03ceca85c5b54691a80a4f897c47.tar.gz vdr-plugin-epgsearch-5bbd4374d11d03ceca85c5b54691a80a4f897c47.tar.bz2 |
Fixes for MyEditTimer and other small changes.
Diffstat (limited to 'epgsearchext.c')
-rw-r--r-- | epgsearchext.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epgsearchext.c b/epgsearchext.c index 4a5f7e6..b516c9c 100644 --- a/epgsearchext.c +++ b/epgsearchext.c @@ -1017,10 +1017,6 @@ cSearchResults* cSearchExt::Run(int PayTVMode, bool inspectTimerMargin, int eval LOCK_CHANNELS_READ; // Channels must be locked first LOCK_SCHEDULES_READ; - if(!Schedules) { - LogFile.Log(1,"schedules are currently locked! try again later."); - return NULL; - } bool noPayTV = false; if (PayTVMode == -1) // use search's setting @@ -1029,11 +1025,11 @@ cSearchResults* cSearchExt::Run(int PayTVMode, bool inspectTimerMargin, int eval noPayTV = (PayTVMode == 1); time_t tNow=time(NULL); - const cSchedule *Schedule = Schedules->First(); cSearchResults* pSearchResults = pPrevResults; cSearchResults* pBlacklistResults = GetBlacklistEvents(inspectTimerMargin?MarginStop:0); int counter = 0; + const cSchedule *Schedule = Schedules->First(); while (Schedule) { const cChannel* channel = Channels->GetByChannelID(Schedule->ChannelID(),true,true); if (!channel) |