<%pre> #include #include #include #include <%args> <{ cSchedulesLock schedulesLock; const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); }> VDR-Live - <$ tr("What's on now?") $>
<& menu >
<$ tr("What's running at") $> <$ tr("o'clock") $>
<{ for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) { if (!Channel->GroupSep()) { const cSchedule *Schedule = Schedules->GetSchedule(Channel); if (Schedule) { const cEvent *Event = Schedule->GetPresentEvent(); if (Event) { std::string title(Event->Title() ? Event->Title() : ""); std::string short_description(Event->ShortText() ? Event->ShortText() : ""); std::string description(Event->Description() ? Event->Description() : ""); }>
<$ Channel->Name() $>
<$ title $>
<$ short_description $>

<$ description $>

<{ } } } } }>