summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-06-03 09:42:12 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-06-03 09:42:12 +0200
commita12a504fad29ce7b9d4bfa7a81aafad07d92fde0 (patch)
tree6114c5dac4b95cf0117de9f4e58b197bd7660935
parentdc6666d53c1873f01376bdd67fa3e3bc324bb349 (diff)
downloadvdr-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--HISTORY3
-rw-r--r--menu.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index c3d5c4d7..b17ed304 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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".
diff --git a/menu.c b/menu.c
index eea024c9..20aac9aa 100644
--- a/menu.c
+++ b/menu.c
@@ -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)