From 982a9a5157eb82fd48af2ef93c2637acc3b5952d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Nov 2022 14:49:08 +0100 Subject: [PATCH] Setting the '.timer' file when regenerating the index file --- recording.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recording.c b/recording.c index 60cfc1b6..5ab10555 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 5.15 2022/11/06 11:26:16 kls Exp $ + * $Id: recording.c 5.16 2022/11/13 14:49:08 kls Exp $ */ #include "recording.h" @@ -2413,6 +2413,7 @@ void cIndexFileGenerator::Action(void) isyslog("generating index file"); } Skins.QueueMessage(mtInfo, tr("Regenerating index file")); + SetRecordingTimerId(recordingName, cString::sprintf("%d@%s", 0, Setup.SVDRPHostName)); bool Stuffed = false; while (Running()) { // Rewind input file: @@ -2506,6 +2507,7 @@ void cIndexFileGenerator::Action(void) break; } } + SetRecordingTimerId(recordingName, NULL); if (IndexFileComplete) { if (IndexFileWritten) { cRecordingInfo RecordingInfo(recordingName);