summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-03-25 11:41:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-03-25 11:41:24 +0100
commit51be693f627bbbb459f901f75348263356791e3c (patch)
tree2fd03bd5f8c695b428bae023e7ea879e5dea7673
parentc55be788f33444a59fa72d31e3cad2ac202f3a82 (diff)
downloadvdr-51be693f627bbbb459f901f75348263356791e3c.tar.gz
vdr-51be693f627bbbb459f901f75348263356791e3c.tar.bz2
Timer log messages now show "VPS" if this is a VPS timer
-rw-r--r--HISTORY1
-rw-r--r--timers.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index d5c1be2e..63dff883 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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.
diff --git a/timers.c b/timers.c
index 7cb4b013..93f52f35 100644
--- a/timers.c
+++ b/timers.c
@@ -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);
}