1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Timer log messages now show "VPS" if this is a VPS timer

This commit is contained in:
Klaus Schmidinger 2006-03-25 11:41:24 +01:00
parent c55be788f3
commit 51be693f62
2 changed files with 3 additions and 2 deletions

View File

@ -4435,3 +4435,4 @@ Video Disk Recorder Revision History
- Fixed deleting recordings that have been removed externally when running out of
disk space (reported by Jan Lenz).
- Fixed handling repeating VPS timers (they stopped recording too early).
- Timer log messages now show "VPS" if this is a VPS timer.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: timers.c 1.52 2006/03/25 11:39:50 kls Exp $
* $Id: timers.c 1.53 2006/03/25 11:41:24 kls Exp $
*/
#include "timers.h"
@ -120,7 +120,7 @@ cString cTimer::ToText(bool UseChannelID)
cString cTimer::ToDescr(void) const
{
char *buffer;
asprintf(&buffer, "%d (%d %04d-%04d '%s')", Index() + 1, Channel()->Number(), start, stop, file);
asprintf(&buffer, "%d (%d %04d-%04d %s'%s')", Index() + 1, Channel()->Number(), start, stop, HasFlags(tfVps) ? "VPS " : "", file);
return cString(buffer, true);
}