summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-03-16 11:11:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-03-16 11:11:04 +0100
commit687b93b2152b2ba82b0f828e543d4904c124bae2 (patch)
tree51e8f54111213758b1b12d60580444cfb752006e /recording.c
parent8af9abbbb9b90e2797c4a319e1b21cbe55dc3153 (diff)
downloadvdr-687b93b2152b2ba82b0f828e543d4904c124bae2.tar.gz
vdr-687b93b2152b2ba82b0f828e543d4904c124bae2.tar.bz2
Now resetting the isOnVideoDirectoryFileSystem member of a cRecording to -1 after renaming it
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index c9261697..cf3c5f05 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.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();