summaryrefslogtreecommitdiff
path: root/PVideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'PVideo.h')
-rw-r--r--PVideo.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/PVideo.h b/PVideo.h
index 03e0b0a..7c04bd4 100644
--- a/PVideo.h
+++ b/PVideo.h
@@ -41,7 +41,7 @@ private:
void Parse(Poco::XML::Node* pNode);
public:
- Video(Poco::XML::Node* pNode, PlexServer Server, MediaContainer* parent);
+ Video(Poco::XML::Node* pNode, PlexServer* Server, MediaContainer* parent);
Video() {};
public:
@@ -70,7 +70,7 @@ public:
std::vector<std::string> m_vRole;
std::string m_sCollection;
Media m_Media;
- PlexServer m_Server;
+ PlexServer* m_pServer;
int m_iMyPlayOffset;
int m_iIndex;
int m_iParentIndex;
@@ -80,9 +80,11 @@ public:
bool UpdateFromServer();
bool SetWatched();
bool SetUnwatched();
-
+ std::string ThumbUri();
+ std::string ArtUri();
+
// gridElement
- virtual void AddTokens(std::shared_ptr<cViewGrid> grid);
+ virtual void AddTokens(std::shared_ptr<cOsdElement> grid, bool clear = true, std::function<void(cGridElement*)> OnCached = NULL);
};
}