Removed sending the SVDRP command UPDR to peer VDRs whenever a change is made to the recordings in the video directory

This commit is contained in:
Klaus Schmidinger 2018-03-09 15:33:27 +01:00
parent 6b4911c6a2
commit c6796ac6df
3 changed files with 4 additions and 6 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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)