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:
parent
c55be788f3
commit
51be693f62
1
HISTORY
1
HISTORY
@ -4435,3 +4435,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed deleting recordings that have been removed externally when running out of
|
- Fixed deleting recordings that have been removed externally when running out of
|
||||||
disk space (reported by Jan Lenz).
|
disk space (reported by Jan Lenz).
|
||||||
- Fixed handling repeating VPS timers (they stopped recording too early).
|
- Fixed handling repeating VPS timers (they stopped recording too early).
|
||||||
|
- Timer log messages now show "VPS" if this is a VPS timer.
|
||||||
|
4
timers.c
4
timers.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "timers.h"
|
||||||
@ -120,7 +120,7 @@ cString cTimer::ToText(bool UseChannelID)
|
|||||||
cString cTimer::ToDescr(void) const
|
cString cTimer::ToDescr(void) const
|
||||||
{
|
{
|
||||||
char *buffer;
|
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);
|
return cString(buffer, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user