mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
No longer logging an error message in DirSizeMB() if the given directory doesn't exist
This commit is contained in:
parent
a4b8729e6a
commit
23ea3dcb48
7
HISTORY
7
HISTORY
@ -8260,3 +8260,10 @@ Video Disk Recorder Revision History
|
||||
IsOnVideoDirectoryFileSystem().
|
||||
- Added support for systemd (thanks to Christopher Reimer). To activate this you
|
||||
need to add "SDNOTIFY=1" to the 'make' call.
|
||||
|
||||
2014-03-22: Version 2.1.7
|
||||
|
||||
- No longer logging an error message in DirSizeMB() if the given directory doesn't
|
||||
exist. This avoids lots of log entries in case several VDRs use the same video
|
||||
directory and one of them has already physically removed a recording directory,
|
||||
while the others still have it in their list of deleted recordings.
|
||||
|
10
config.h
10
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 3.8 2014/02/25 10:00:23 kls Exp $
|
||||
* $Id: config.h 3.9 2014/03/22 14:23:44 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
@ -22,13 +22,13 @@
|
||||
|
||||
// VDR's own version number:
|
||||
|
||||
#define VDRVERSION "2.1.6"
|
||||
#define VDRVERSNUM 20106 // Version * 10000 + Major * 100 + Minor
|
||||
#define VDRVERSION "2.1.7"
|
||||
#define VDRVERSNUM 20107 // Version * 10000 + Major * 100 + Minor
|
||||
|
||||
// The plugin API's version number:
|
||||
|
||||
#define APIVERSION "2.1.6"
|
||||
#define APIVERSNUM 20106 // Version * 10000 + Major * 100 + Minor
|
||||
#define APIVERSION "2.1.7"
|
||||
#define APIVERSNUM 20107 // Version * 10000 + Major * 100 + Minor
|
||||
|
||||
// When loading plugins, VDR searches them by their APIVERSION, which
|
||||
// may be smaller than VDRVERSION in case there have been no changes to
|
||||
|
4
tools.c
4
tools.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: tools.c 3.2 2013/09/22 13:19:19 kls Exp $
|
||||
* $Id: tools.c 3.3 2014/03/22 14:22:55 kls Exp $
|
||||
*/
|
||||
|
||||
#include "tools.h"
|
||||
@ -609,7 +609,7 @@ int DirSizeMB(const char *DirName)
|
||||
}
|
||||
return size;
|
||||
}
|
||||
else
|
||||
else if (errno != ENOENT)
|
||||
LOG_ERROR_STR(DirName);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user