From e101df04a2e19c49293965223e6d4bbf719ed78c Mon Sep 17 00:00:00 2001 From: Johann Friedrichs Date: Sun, 30 Jan 2022 18:03:42 +0100 Subject: Changed handling of finished recordings Allow missing timer-Object (vdr > 2.5.x deletes non-VPS timers immediately after recording end) We now use the Recording-Filename to find Start- and Stoptimes --- recdone.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'recdone.h') diff --git a/recdone.h b/recdone.h index cfad67f..6cfa50b 100644 --- a/recdone.h +++ b/recdone.h @@ -38,17 +38,21 @@ public: char *title; // Title of this event char *shortText; // Short description of this event char *description; // Description of this event + char *fileName; // Name used in MsgRecording char *aux; // Aux info - time_t startTime; // Start time of the timer - int duration; - int searchID; // ID of the search, that triggered this recording + time_t startTime; // Start time of the event + time_t timerStart; // Start time of the timer + time_t timerStop; // Stop time of the timer + bool vpsused; + int duration; // Duration of event + int searchID; // ID of the search, that triggered this recording tChannelID channelID; char* rawdescription; static char *buffer; cRecDone(); - cRecDone(const cTimer*, const cEvent* event, cSearchExt* search); + cRecDone(const cTimer*, const cEvent* event, cSearchExt* search, const char* name); ~cRecDone(); static bool Read(FILE *f); -- cgit v1.2.3