diff options
author | Martin Schirrmacher <vdr.neutrinoepg@schirrmacher.eu> | 2019-11-11 19:30:47 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.neutrinoepg@schirrmacher.eu> | 2019-11-11 19:30:47 +0100 |
commit | c3615ffcb0f5e5c2d380052fffd4a5d53293cde3 (patch) | |
tree | 0567029c8b8181ef56683f13221b950c9297e398 | |
parent | f7488c0eac22cd9fdec402c519de775ab330acaf (diff) | |
download | vdr-plugin-neutrinoepg-c3615ffcb0f5e5c2d380052fffd4a5d53293cde3.tar.gz vdr-plugin-neutrinoepg-c3615ffcb0f5e5c2d380052fffd4a5d53293cde3.tar.bz2 |
-rw-r--r-- | osdmenu.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -482,7 +482,11 @@ void myOsdMenu::LoadSchedules(int shift) { if( !isChannelInGroup( Channel->Index(), CurrentGroup ) ) continue; +#if APIVERSNUM >= 20301 + const cSchedule *Schedule = schedules->GetSchedule( Channel ); +#else const cSchedule *Schedule = schedules->GetSchedule( Channel->GetChannelID() ); +#endif if(Schedule) { // event from now or any other date (next) const cEvent *Event = next ? Schedule->GetEventAround(t) : Schedule->GetPresentEvent(); |