summaryrefslogtreecommitdiff
path: root/Plexservice.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-27 17:22:11 +0100
committerchriszero <zerov83@gmail.com>2015-02-27 17:22:11 +0100
commitd6339ad957b31ec4810777ef4c63f6e42a66d2c2 (patch)
tree739365b1cd296fe24efdd1433f4288ece9be6206 /Plexservice.h
parent793fa10c35ef60ea7370fef5167854d38c65df65 (diff)
downloadvdr-plugin-plex-d6339ad957b31ec4810777ef4c63f6e42a66d2c2.tar.gz
vdr-plugin-plex-d6339ad957b31ec4810777ef4c63f6e42a66d2c2.tar.bz2
Optimized plexservice
Diffstat (limited to 'Plexservice.h')
-rw-r--r--Plexservice.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Plexservice.h b/Plexservice.h
index 4f81caf..d20c5ee 100644
--- a/Plexservice.h
+++ b/Plexservice.h
@@ -40,7 +40,6 @@ class Plexservice
{
public:
Plexservice(PlexServer *server);
- ~Plexservice();
void DisplaySections();
std::shared_ptr<MediaContainer> GetSection(std::string section, bool putOnStack = true);
@@ -58,13 +57,10 @@ public:
private:
Poco::Mutex m_mutex;
- Poco::Net::HTTPClientSession *m_pPlexSession;
PlexServer *pServer;
std::stack<std::string> m_vUriStack;
-
- Poco::Net::HTTPClientSession* GetHttpSession(bool createNew = false);
- Poco::Net::HTTPRequest* CreateRequest(std::string path);
+ std::unique_ptr<Poco::Net::HTTPRequest> CreateRequest(std::string path);
};