summaryrefslogtreecommitdiff
path: root/plex.h
diff options
context:
space:
mode:
Diffstat (limited to 'plex.h')
-rw-r--r--plex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plex.h b/plex.h
index 3a80729..44bfcff 100644
--- a/plex.h
+++ b/plex.h
@@ -22,6 +22,7 @@
#include <vector>
#include <iterator>
#include <algorithm>
+#include <memory>
/// vdr-plugin version number.
@@ -43,7 +44,7 @@ class cPlexBrowser :public cOsdMenu
{
private:
plexclient::Plexservice* pService;
- plexclient::MediaContainer *pCont;
+ std::shared_ptr<plexclient::MediaContainer> pCont;
std::vector<plexclient::Video> *v_Vid;
std::vector<plexclient::Directory> *v_Dir;
std::vector<std::string> m_vStack;