mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now resetting the isOnVideoDirectoryFileSystem member of a cRecording to -1 after renaming it
This commit is contained in:
parent
8af9abbbb9
commit
687b93b215
3
HISTORY
3
HISTORY
@ -8255,3 +8255,6 @@ Video Disk Recorder Revision History
|
||||
- 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.
|
||||
- Now resetting the isOnVideoDirectoryFileSystem member of a cRecording to -1 after
|
||||
renaming it, so that it will be re-checked upon the next call to
|
||||
IsOnVideoDirectoryFileSystem().
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: recording.c 3.17 2014/03/16 10:59:04 kls Exp $
|
||||
* $Id: recording.c 3.18 2014/03/16 11:09:17 kls Exp $
|
||||
*/
|
||||
|
||||
#include "recording.h"
|
||||
@ -1237,6 +1237,7 @@ bool cRecording::ChangeName(const char *NewName)
|
||||
fileName = strdup(OldFileName);
|
||||
return false;
|
||||
}
|
||||
isOnVideoDirectoryFileSystem = -1; // it might have been moved to a different file system
|
||||
ClearSortName();
|
||||
Recordings.ChangeState();
|
||||
Recordings.TouchUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user