1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed getting the info of a newly edited recording

This commit is contained in:
Klaus Schmidinger 2018-02-10 13:31:31 +01:00
parent 6b9c5aa1ac
commit 68f0f24670
3 changed files with 5 additions and 2 deletions

View File

@ -3301,6 +3301,8 @@ Matthias Senzel <matthias.senzel@t-online.de>
timer, even if it doesn't contain any subfolders timer, even if it doesn't contain any subfolders
for reporting a possible locking problem in cMenuPathEdit::ApplyChanges() when the for reporting a possible locking problem in cMenuPathEdit::ApplyChanges() when the
lock is held while the error message is displayed lock is held while the error message is displayed
for reporting that the info of a newly edited recording was not available immediately
after starting the editing process
Marek Nazarko <mnazarko@gmail.com> Marek Nazarko <mnazarko@gmail.com>
for translating OSD texts to the Polish language for translating OSD texts to the Polish language

View File

@ -9269,3 +9269,4 @@ Video Disk Recorder Revision History
- When a timer is newly created in the Timers menu, it now immediately appears at the - When a timer is newly created in the Timers menu, it now immediately appears at the
correct position in the list, rather than first being added at the end and then correct position in the list, rather than first being added at the end and then
jumping to the proper offset. jumping to the proper offset.
- Fixed getting the info of a newly edited recording (reported by Matthias Senzel).

View File

@ -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 4.18 2018/01/18 10:13:29 kls Exp $ * $Id: recording.c 4.19 2018/02/10 13:24:04 kls Exp $
*/ */
#include "recording.h" #include "recording.h"
@ -1908,9 +1908,9 @@ bool cRecordingsHandlerEntry::Active(cRecordings *Recordings)
// Now check if there is something to start: // Now check if there is something to start:
if ((Usage() & ruPending) != 0) { if ((Usage() & ruPending) != 0) {
if ((Usage() & ruCut) != 0) { if ((Usage() & ruCut) != 0) {
Recordings->AddByName(FileNameDst(), false);
cutter = new cCutter(FileNameSrc()); cutter = new cCutter(FileNameSrc());
cutter->Start(); cutter->Start();
Recordings->AddByName(FileNameDst(), false);
} }
else if ((Usage() & (ruMove | ruCopy)) != 0) { else if ((Usage() & (ruMove | ruCopy)) != 0) {
copier = new cDirCopier(FileNameSrc(), FileNameDst()); copier = new cDirCopier(FileNameSrc(), FileNameDst());