summaryrefslogtreecommitdiff
path: root/SubscriptionManager.cpp
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-03-28 20:41:54 +0200
committerChristian <zerov83@gmail.com>2016-03-28 20:41:54 +0200
commitbd3d480a94558344f0a55707bc59b181fc7ea943 (patch)
treed54aaa531c747df28950e0db542f9d9cb26874e0 /SubscriptionManager.cpp
parent495f828b507611fafa49997adf7f2bda815cdcb8 (diff)
downloadvdr-plugin-plex-bd3d480a94558344f0a55707bc59b181fc7ea943.tar.gz
vdr-plugin-plex-bd3d480a94558344f0a55707bc59b181fc7ea943.tar.bz2
paralleling cPictureCache.
Multiple server connections now possible
Diffstat (limited to 'SubscriptionManager.cpp')
-rw-r--r--SubscriptionManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/SubscriptionManager.cpp b/SubscriptionManager.cpp
index d287c2e..dbdea3e 100644
--- a/SubscriptionManager.cpp
+++ b/SubscriptionManager.cpp
@@ -66,9 +66,8 @@ void SubscriptionManager::ReportProgress()
queryMap["time"] = std::to_string(current);
queryMap["state"] = state;
- Poco::Net::HTTPResponse resp;
bool ok;
- m_pStatus->pVideo->m_pServer->MakeRequest(resp, ok, "/:/progress", queryMap);
+ auto cSession = m_pStatus->pVideo->m_pServer->MakeRequest(ok, "/:/progress", queryMap);
} catch (Poco::Exception&) {}
}
@@ -116,7 +115,7 @@ void SubscriptionManager::NotifyServer()
Poco::Net::HTTPResponse response;
bool ok;
- pServer->MakeRequest(response, ok, "/:/timeline", queryMap);
+ auto cSession = pServer->MakeRequest(ok, "/:/timeline", queryMap);
if(m_pStatus->PlayerStopped) {