<%pre> #include #include #include #include <%args> <{ char buf[6]; struct tm tm_r; //strftime(buf, sizeof(buf), "%H.%M", localtime(tm_r)); cSchedulesLock schedulesLock; const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); }> VDR-Live - <$ tr("What's on now?") $>
<& menu >
Was läft jetzt um Uhr
<{ 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) { const char *title = Event->Title() ? Event->Title() : ''; }>
<$ Channel->Name() $>
<$ Event->Title() $>

Description() ? Event->Description() ?>

<{ } } } } }>