diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2018-03-09 15:33:27 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2018-03-09 15:33:27 +0100 |
commit | c6796ac6df08ae81f65fd1b4961f29f3007dce57 (patch) | |
tree | 357176dbc37c1dc0c425abe875afd55d424f4e7d | |
parent | 6b4911c6a252c179d37a87cc7205ffca0b1ca17f (diff) | |
download | vdr-c6796ac6df08ae81f65fd1b4961f29f3007dce57.tar.gz vdr-c6796ac6df08ae81f65fd1b4961f29f3007dce57.tar.bz2 |
Removed sending the SVDRP command UPDR to peer VDRs whenever a change is made to the recordings in the video directory
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | UPDATE-2.4.0 | 4 | ||||
-rw-r--r-- | recording.c | 3 |
3 files changed, 4 insertions, 6 deletions
@@ -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) |