summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'block.c')
-rw-r--r--block.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/block.c b/block.c
index 6b21b8f..b838703 100644
--- a/block.c
+++ b/block.c
@@ -113,26 +113,26 @@ void cPluginBlock::MainThreadHook()
{
cSchedulesLock schedLock;
const cSchedules *scheds = cSchedules::Schedules(schedLock);
-
+
if (scheds == NULL)
{
return;
}
-
+
const cSchedule *sched = scheds->GetSchedule(channel->GetChannelID());
if (sched == NULL)
{
return;
}
-
+
const cEvent *present = sched->GetPresentEvent();
const cEvent *follow = sched->GetFollowingEvent();
-
+
if (present == NULL)
{
return;
}
-
+
//TODO: check if isrequested is still necessary
// if (!cControlBlock::IsRequested() && !EventsBlock.Acceptable(present->Title()))
const char* title=present->Title();
@@ -145,9 +145,9 @@ void cPluginBlock::MainThreadHook()
cControl::Launch(new cControlBlock(channel, present, follow));
}
}
-}
+}
+
-
VDRPLUGINCREATOR(cPluginBlock); // Don't touch this!