diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-02-04 12:02:46 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-02-04 12:02:46 +0100 |
commit | 431e99d1d41613d60a202d16066ab69221a42182 (patch) | |
tree | 3700d26121e4e48ec98c3dcb7a3ffe47ef6f877d | |
parent | 415e433c73554723131e9eacce1857538ccf0442 (diff) | |
download | vdr-plugin-tvguide-431e99d1d41613d60a202d16066ab69221a42182.tar.gz vdr-plugin-tvguide-431e99d1d41613d60a202d16066ab69221a42182.tar.bz2 |
Support for new SVDRPPeering
-rw-r--r-- | recmanager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recmanager.c b/recmanager.c index 9aff11c..d03bf7c 100644 --- a/recmanager.c +++ b/recmanager.c @@ -93,6 +93,8 @@ cTimer *cRecManager::createTimer(const cEvent *event, std::string path) { cTimer *cRecManager::createLocalTimer(const cEvent *event, std::string path) { cTimer *timer = new cTimer(event); #if VDRVERSNUM >= 20301 + if (Setup.SVDRPPeering && *Setup.SVDRPDefaultHost) + ((cTimer*)timer)->SetRemote(Setup.SVDRPDefaultHost); LOCK_TIMERS_WRITE; cTimer *t = Timers->GetTimer(timer); #else |