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

Fixed storing timer id in .timer for instant recordings

This commit is contained in:
Klaus Schmidinger 2018-02-25 13:28:19 +01:00
parent 6600478675
commit bf497f4aae

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 4.62 2018/02/25 13:07:09 kls Exp $
* $Id: menu.c 4.63 2018/02/25 13:28:19 kls Exp $
*/
#include "menu.h"
@ -5235,7 +5235,7 @@ cRecordControl::cRecordControl(cDevice *Device, cTimers *Timers, cTimer *Timer,
SchedulesStateKey.Remove();
LOCK_RECORDINGS_WRITE;
Recordings->AddByName(fileName);
SetRecordingTimerId(fileName, cString::sprintf("%d@%s", Timer->Id(), Setup.SVDRPHostName));
SetRecordingTimerId(fileName, cString::sprintf("%d@%s", timer->Id(), Setup.SVDRPHostName));
return;
}
else