mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed minimum lifespan of deleted recordings
This commit is contained in:
parent
a804b990fe
commit
249a4ab959
@ -495,6 +495,7 @@ Jaakko Hyv
|
||||
for adding a check if there is a connection to the keyboard
|
||||
for fixing recording overlapping timers on the same channel in case
|
||||
DO_REC_AND_PLAY_ON_PRIMARY_DEVICE and/or DO_MULTIPLE_RECORDINGS is not defined
|
||||
for fixing the minimum lifespan of deleted recordings
|
||||
|
||||
Dennis Noordsij <dennis.noordsij@wiral.com>
|
||||
for reporting a small glitch when switching channels
|
||||
|
4
HISTORY
4
HISTORY
@ -2084,3 +2084,7 @@ Video Disk Recorder Revision History
|
||||
- The new SVDRP command STAT can be used to request information about the disk
|
||||
usage (thanks to Thomas Koch).
|
||||
- Fixed faulty calculation of section length in eit.c (thanks to Teemu Rantanen).
|
||||
|
||||
2003-04-27: Version 1.1.30
|
||||
|
||||
- Fixed minimum lifespan of deleted recordings (thanks to Jaakko Hyvätti).
|
||||
|
4
config.h
4
config.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.h 1.154 2003/04/21 16:23:15 kls Exp $
|
||||
* $Id: config.h 1.155 2003/04/27 15:56:04 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
@ -19,7 +19,7 @@
|
||||
#include "device.h"
|
||||
#include "tools.h"
|
||||
|
||||
#define VDRVERSION "1.1.29"
|
||||
#define VDRVERSION "1.1.30"
|
||||
|
||||
#define MAXPRIORITY 99
|
||||
#define MAXLIFETIME 99
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: recording.c 1.75 2003/04/12 09:51:44 kls Exp $
|
||||
* $Id: recording.c 1.76 2003/04/27 15:52:17 kls Exp $
|
||||
*/
|
||||
|
||||
#include "recording.h"
|
||||
@ -78,7 +78,7 @@ void RemoveDeletedRecordings(void)
|
||||
r0 = r;
|
||||
r = Recordings.Next(r);
|
||||
}
|
||||
if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 60) {
|
||||
if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 3600) {
|
||||
r0->Remove();
|
||||
RemoveEmptyVideoDirectories();
|
||||
LastRemoveCheck += REMOVELATENCY;
|
||||
|
Loading…
Reference in New Issue
Block a user