From c6796ac6df08ae81f65fd1b4961f29f3007dce57 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 9 Mar 2018 15:33:27 +0100 Subject: [PATCH] Removed sending the SVDRP command UPDR to peer VDRs whenever a change is made to the recordings in the video directory --- HISTORY | 3 +++ UPDATE-2.4.0 | 4 ---- recording.c | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/HISTORY b/HISTORY index eaffb786..a0a966a0 100644 --- a/HISTORY +++ b/HISTORY @@ -9303,3 +9303,6 @@ Video Disk Recorder Revision History - Now writing the info file before attaching the recorder to the device, to make sure it is present when the recorder needs to update the fps value. - Making sure the Schedules menu has a proper title, even if it is empty. +- Removed sending the SVDRP command UPDR to peer VDRs whenever a change is made to the + recordings in the video directory (which was introduced in version 2.3.8), because it + triggered re-reading the video directory too fast. diff --git a/UPDATE-2.4.0 b/UPDATE-2.4.0 index 4da81ba3..a695aa95 100644 --- a/UPDATE-2.4.0 +++ b/UPDATE-2.4.0 @@ -369,10 +369,6 @@ SVDRP: ':ids' is given. - If 0 is given as the channel number in the SVDRP command LSTC, the data of the current channel is listed. -- Whenever a change is made to the recordings in the video directory, the SVDRP command - UPDR is now sent to all peer VDRs, so that they will update their recordings list. - This is especially useful if one VDR mounts the video directory of an other one into - a subdirectory. - The new SVDRP commands 'LSTD' and 'PRIM' can be used to list all available devices and to switch the primary device. diff --git a/recording.c b/recording.c index 9cd47687..3cff2bb7 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 4.20 2018/02/13 08:44:19 kls Exp $ + * $Id: recording.c 4.21 2018/03/09 15:30:52 kls Exp $ */ #include "recording.h" @@ -1501,7 +1501,6 @@ void cRecordings::TouchUpdate(void) TouchFile(UpdateFileName()); if (!needsUpdate) lastUpdate = time(NULL); // make sure we don't trigger ourselves - BroadcastSVDRPCommand("UPDR"); } bool cRecordings::NeedsUpdate(void)