mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed setting the file name of the info file after renaming a recording
This commit is contained in:
parent
20a8c5d240
commit
3058354dba
@ -3377,6 +3377,7 @@ Stefan Hofmann <stefan.hofmann@t-online.de>
|
|||||||
for adding a header to the backtrace
|
for adding a header to the backtrace
|
||||||
for adding parameter checks to strn0cpy()
|
for adding parameter checks to strn0cpy()
|
||||||
for making the info files of recordings only be re-read if they have been modified
|
for making the info files of recordings only be re-read if they have been modified
|
||||||
|
for reporting missing setting the file name of the info file after renaming a recording
|
||||||
|
|
||||||
Stefan Blochberger <Stefan.Blochberger@gmx.de>
|
Stefan Blochberger <Stefan.Blochberger@gmx.de>
|
||||||
for suggesting to automatically display the progress display whenever replay of a
|
for suggesting to automatically display the progress display whenever replay of a
|
||||||
|
4
HISTORY
4
HISTORY
@ -10034,7 +10034,7 @@ Video Disk Recorder Revision History
|
|||||||
(suggested by Stefan Hofmann).
|
(suggested by Stefan Hofmann).
|
||||||
- Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann).
|
- Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann).
|
||||||
|
|
||||||
2025-01-16:
|
2025-01-18:
|
||||||
|
|
||||||
- Removed all DEPRECATED_* code.
|
- Removed all DEPRECATED_* code.
|
||||||
- Fixed error checking in case the fps value can't be determined by the frame parser.
|
- Fixed error checking in case the fps value can't be determined by the frame parser.
|
||||||
@ -10061,3 +10061,5 @@ Video Disk Recorder Revision History
|
|||||||
cStatus::OsdItem() will still work as before, because the default implementation of
|
cStatus::OsdItem() will still work as before, because the default implementation of
|
||||||
cStatus::OsdItem2() calls cStatus::OsdItem().
|
cStatus::OsdItem2() calls cStatus::OsdItem().
|
||||||
APIVERSNUM is now 30006.
|
APIVERSNUM is now 30006.
|
||||||
|
- Fixed setting the file name of the info file after renaming a recording (reported by
|
||||||
|
Stefan Hofmann).
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.c 5.36 2025/01/15 10:50:29 kls Exp $
|
* $Id: recording.c 5.37 2025/01/18 20:57:06 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -1354,6 +1354,7 @@ bool cRecording::ChangeName(const char *NewName)
|
|||||||
fileName = strdup(OldFileName);
|
fileName = strdup(OldFileName);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
info->SetFileName(NewFileName);
|
||||||
isOnVideoDirectoryFileSystem = -1; // it might have been moved to a different file system
|
isOnVideoDirectoryFileSystem = -1; // it might have been moved to a different file system
|
||||||
ClearSortName();
|
ClearSortName();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user