From a28d92d0490e75f2be7d7239ac491683e215c42f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 25 Jun 2017 12:43:09 +0200 Subject: Whenever a change is made to the recordings in the video directory, the SVDRP command UPDR is now sent to all peer VDRs --- recording.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 7b1d158b..ca0ec798 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.9 2017/05/27 15:46:57 kls Exp $ + * $Id: recording.c 4.10 2017/06/25 12:31:46 kls Exp $ */ #include "recording.h" @@ -27,6 +27,7 @@ #include "remux.h" #include "ringbuffer.h" #include "skins.h" +#include "svdrp.h" #include "tools.h" #include "videodir.h" @@ -1493,6 +1494,7 @@ void cRecordings::TouchUpdate(void) TouchFile(UpdateFileName()); if (!needsUpdate) lastUpdate = time(NULL); // make sure we don't trigger ourselves + BroadcastSVDRPCommand("UPDR"); } bool cRecordings::NeedsUpdate(void) -- cgit v1.2.3