mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Support for new SVDRPPeering
This commit is contained in:
parent
415e433c73
commit
431e99d1d4
@ -93,6 +93,8 @@ cTimer *cRecManager::createTimer(const cEvent *event, std::string path) {
|
|||||||
cTimer *cRecManager::createLocalTimer(const cEvent *event, std::string path) {
|
cTimer *cRecManager::createLocalTimer(const cEvent *event, std::string path) {
|
||||||
cTimer *timer = new cTimer(event);
|
cTimer *timer = new cTimer(event);
|
||||||
#if VDRVERSNUM >= 20301
|
#if VDRVERSNUM >= 20301
|
||||||
|
if (Setup.SVDRPPeering && *Setup.SVDRPDefaultHost)
|
||||||
|
((cTimer*)timer)->SetRemote(Setup.SVDRPDefaultHost);
|
||||||
LOCK_TIMERS_WRITE;
|
LOCK_TIMERS_WRITE;
|
||||||
cTimer *t = Timers->GetTimer(timer);
|
cTimer *t = Timers->GetTimer(timer);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user