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)