mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling the display of the '*' indicator in the "What's on now/next?" menu
This commit is contained in:
parent
dc6666d53c
commit
a12a504fad
3
HISTORY
3
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".
|
||||
|
4
menu.c
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user