mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Whenever a change is made to the recordings in the video directory, the SVDRP command UPDR is now sent to all peer VDRs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user