From af4cbdc3c2fec8873cdfb78a15d7dd99b084e254 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Thu, 9 Apr 2020 14:32:08 +0100 Subject: [PATCH] Fix: Call cRecordings::Update instead of SetModified after a rec move --- vompclientrrproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vompclientrrproc.c b/vompclientrrproc.c index a0ccf26..50dee4e 100644 --- a/vompclientrrproc.c +++ b/vompclientrrproc.c @@ -915,7 +915,7 @@ int VompClientRRProc::processMoveRecording() log->log("RRProc", Log::DEBUG, "recording pointer %p", recording); - if (recording) + if (recording) // FIXME rewrite these error conditions! { // TODO: Switch to using: int cRecording::IsInUse(void) const cRecordControl *rc = cRecordControls::GetRecordControl(recording->FileName()); @@ -1031,7 +1031,7 @@ int VompClientRRProc::processMoveRecording() delete[] oldTitleDir; #if VDRVERSNUM >= 20301 - tRecordings->SetModified(); + tRecordings->Update(); #elif VDRVERSNUM > 10311 ::Recordings.Update(); #endif -- 2.39.5