diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-03 09:42:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-03 09:42:12 +0200 |
commit | a12a504fad29ce7b9d4bfa7a81aafad07d92fde0 (patch) | |
tree | 6114c5dac4b95cf0117de9f4e58b197bd7660935 | |
parent | dc6666d53c1873f01376bdd67fa3e3bc324bb349 (diff) | |
download | vdr-a12a504fad29ce7b9d4bfa7a81aafad07d92fde0.tar.gz vdr-a12a504fad29ce7b9d4bfa7a81aafad07d92fde0.tar.bz2 |
Fixed handling the display of the '*' indicator in the "What's on now/next?" menu
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | menu.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -4760,3 +4760,6 @@ Video Disk Recorder Revision History plugin libraries (thanks to Wayne Keer). - Applied the fixes to moving and deleting channels from version 1.4.0-2 to the SVDRP commands MOVC and DELC as well. +- Fixed handling the display of the '*' indicator in the "What's on now/next?" + menu, so that events that haven't been "seen" in the data stream within 30 + seconds won't be shown as "running". @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.439 2006/05/28 15:05:42 kls Exp $ + * $Id: menu.c 1.440 2006/06/03 09:34:49 kls Exp $ */ #include "menu.h" @@ -1048,7 +1048,7 @@ bool cMenuScheduleItem::Update(bool Force) char *buffer = NULL; char t = TimerMatchChars[timerMatch]; char v = event->Vps() && (event->Vps() - event->StartTime()) ? 'V' : ' '; - char r = event->IsRunning() ? '*' : ' '; + char r = event->SeenWithin(30) && event->IsRunning() ? '*' : ' '; if (channel && withDate) asprintf(&buffer, "%d\t%.*s\t%.*s\t%s\t%c%c%c\t%s", channel->Number(), 6, channel->ShortName(true), 6, *event->GetDateString(), *event->GetTimeString(), t, v, r, event->Title()); else if (channel) |