mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Setting the '.timer' file when regenerating the index file
This commit is contained in:
parent
c8e4921a0a
commit
982a9a5157
@ -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.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"
|
#include "recording.h"
|
||||||
@ -2413,6 +2413,7 @@ void cIndexFileGenerator::Action(void)
|
|||||||
isyslog("generating index file");
|
isyslog("generating index file");
|
||||||
}
|
}
|
||||||
Skins.QueueMessage(mtInfo, tr("Regenerating index file"));
|
Skins.QueueMessage(mtInfo, tr("Regenerating index file"));
|
||||||
|
SetRecordingTimerId(recordingName, cString::sprintf("%d@%s", 0, Setup.SVDRPHostName));
|
||||||
bool Stuffed = false;
|
bool Stuffed = false;
|
||||||
while (Running()) {
|
while (Running()) {
|
||||||
// Rewind input file:
|
// Rewind input file:
|
||||||
@ -2506,6 +2507,7 @@ void cIndexFileGenerator::Action(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
SetRecordingTimerId(recordingName, NULL);
|
||||||
if (IndexFileComplete) {
|
if (IndexFileComplete) {
|
||||||
if (IndexFileWritten) {
|
if (IndexFileWritten) {
|
||||||
cRecordingInfo RecordingInfo(recordingName);
|
cRecordingInfo RecordingInfo(recordingName);
|
||||||
|
Loading…
Reference in New Issue
Block a user