diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-16 11:01:46 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-16 11:01:46 +0100 |
commit | 8af9abbbb9b90e2797c4a319e1b21cbe55dc3153 (patch) | |
tree | ab980327204fcda0d2959a91a1226d2655e2a8d0 | |
parent | 25e2dbf031a50d7b0295f8e543f011a52a9c9075 (diff) | |
download | vdr-8af9abbbb9b90e2797c4a319e1b21cbe55dc3153.tar.gz vdr-8af9abbbb9b90e2797c4a319e1b21cbe55dc3153.tar.bz2 |
Now initializing the isOnVideoDirectoryFileSystem member of cRecording when scanning the video directory
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | recording.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -8252,3 +8252,6 @@ Video Disk Recorder Revision History it shall implement the proper options in its plugin's SetupMenu() function. - Added support for "Pilot", "T2-System-Id" and "SISO/MISO" parameters (thanks to Rolf Ahrenberg). +- Now initializing the isOnVideoDirectoryFileSystem member of cRecording when + scanning the video directory, so that it won't cause a delay when opening the menu + on a system with a large number of recordings. diff --git a/recording.c b/recording.c index 5da54940..c9261697 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 3.16 2014/02/08 11:16:02 kls Exp $ + * $Id: recording.c 3.17 2014/03/16 10:59:04 kls Exp $ */ #include "recording.h" @@ -1425,6 +1425,7 @@ bool cRecordings::ScanVideoDir(const char *DirName, bool Foreground, int LinkLev if (r->Name()) { r->NumFrames(); // initializes the numFrames member r->FileSizeMB(); // initializes the fileSizeMB member + r->IsOnVideoDirectoryFileSystem(); // initializes the isOnVideoDirectoryFileSystem member if (deleted) r->deleted = time(NULL); Lock(); |