summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-09 19:01:15 +0100
committerlouis <louis.braun@gmx.de>2013-01-09 19:01:15 +0100
commita66cf84a96b425890fe5f6a8b78013c3a75ea603 (patch)
treea71ef3d883ece8ad543123523246d27bc4e9e937
parent4f4705397c4563a69b87c5e8424f3b0d132ef552 (diff)
downloadskin-nopacity-a66cf84a96b425890fe5f6a8b78013c3a75ea603.tar.gz
skin-nopacity-a66cf84a96b425890fe5f6a8b78013c3a75ea603.tar.bz2
Fixed showing current show as rerun in epg detail view
-rw-r--r--menudetailview.c3
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());