diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | displaychannel.c | 13 |
2 files changed, 13 insertions, 2 deletions
@@ -296,3 +296,5 @@ Version 0.1.4 - Changed and added some color definitions - Added theme "Keep it light" (thanks @Saman for providing the theme) - Added additional configurable channel logo cache +- Fixed a bug that running instant recording is not displayed in + displayChannel diff --git a/displaychannel.c b/displaychannel.c index 7310e9b..6dd8dc3 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -659,8 +659,17 @@ void cNopacityDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Fol int space = geoManager->channelWidth - 9*indent - seenWidth - startTimeWidth - config.resolutionIconSize; bool drawRecIcon = false; int widthRecIcon = 0; - if (e->HasTimer()) { - drawRecIcon = true; + //check for timers + if (i==0) { + eTimerMatch TimerMatch = tmNone; + const cTimer * Timer = Timers.GetMatch(e, &TimerMatch); + if (Timer && Timer->Recording()) { + drawRecIcon = true; + } + } else { + drawRecIcon = e->HasTimer(); + } + if (drawRecIcon) { widthRecIcon = fontManager->channelEPGSmall->Width(" REC "); space -= widthRecIcon + indent/2; } |