diff options
author | louis <louis.braun@gmx.de> | 2013-01-09 19:01:15 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-01-09 19:01:15 +0100 |
commit | a66cf84a96b425890fe5f6a8b78013c3a75ea603 (patch) | |
tree | a71ef3d883ece8ad543123523246d27bc4e9e937 | |
parent | 4f4705397c4563a69b87c5e8424f3b0d132ef552 (diff) | |
download | skin-nopacity-a66cf84a96b425890fe5f6a8b78013c3a75ea603.tar.gz skin-nopacity-a66cf84a96b425890fe5f6a8b78013c3a75ea603.tar.bz2 |
Fixed showing current show as rerun in epg detail view
-rw-r--r-- | menudetailview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/menudetailview.c b/menudetailview.c index 491da25..d8b73c5 100644 --- a/menudetailview.c +++ b/menudetailview.c @@ -84,10 +84,11 @@ void cNopacityMenuDetailView::LoadReruns(const cEvent *event) { if (epgSearchPlugin->Service("Epgsearch-searchresults-v1.0", &data)) { cList<Epgsearch_searchresults_v1_0::cServiceSearchResult>* list = data.pResultList; if (list && (list->Count() > 1)) { - //TODO: current event is shown as rerun sstrReruns << tr("RERUNS OF THIS SHOW") << ':' << std::endl; int i = 0; for (Epgsearch_searchresults_v1_0::cServiceSearchResult *r = list->First(); r && i < config.numReruns; r = list->Next(r)) { + if ((event->ChannelID() == r->event->ChannelID()) && (event->StartTime() == r->event->StartTime())) + continue; i++; sstrReruns << "- " << *DayDateTime(r->event->StartTime()); |