summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-06-25 12:43:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-06-25 12:43:09 +0200
commita28d92d0490e75f2be7d7239ac491683e215c42f (patch)
tree26e03ce91aef54d293367d95f9b39799b936f7cd /recording.c
parent39294e0147ef76cf6bf239f23f095836e3c65f6d (diff)
downloadvdr-a28d92d0490e75f2be7d7239ac491683e215c42f.tar.gz
vdr-a28d92d0490e75f2be7d7239ac491683e215c42f.tar.bz2
Whenever a change is made to the recordings in the video directory, the SVDRP command UPDR is now sent to all peer VDRs
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 3 insertions, 1 deletions
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)