summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-02-04 12:08:22 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-05 13:04:20 +0200
commit9d04343f62f685e74ed589ca18b2aabef2a61dc9 (patch)
tree70fdd89f74fc6270418f0b921bd99dba748e7a78
parent0bc43eb96d39def7e931202146c3b83a2aa4e58a (diff)
downloadvdr-plugin-tvguideng-9d04343f62f685e74ed589ca18b2aabef2a61dc9.tar.gz
vdr-plugin-tvguideng-9d04343f62f685e74ed589ca18b2aabef2a61dc9.tar.bz2
Support for new SVDRPPeering
-rw-r--r--recmanager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/recmanager.c b/recmanager.c
index 047ca18..d9912be 100644
--- a/recmanager.c
+++ b/recmanager.c
@@ -86,6 +86,8 @@ cTimer *cRecManager::createLocalTimer(const cEvent *event, std::string path) {
cTimer *timer = new cTimer(event);
#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+ if (Setup.SVDRPPeering && *Setup.SVDRPDefaultHost)
+ ((cTimer*)timer)->SetRemote(Setup.SVDRPDefaultHost);
LOCK_TIMERS_WRITE;
cTimers* timers = Timers;
#else