summaryrefslogtreecommitdiff
path: root/PVideo.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-04-04 15:10:52 +0200
committerchriszero <zerov83@gmail.com>2015-04-04 15:10:52 +0200
commit21ee9e67ff7029c099c9fd772d3dc3e23c955199 (patch)
tree254ecef54be3682aea55ff747f3d2912e5732faf /PVideo.h
parentb3a59b06a977129bd773ff46f4fd66e0057fb9cd (diff)
downloadvdr-plugin-plex-21ee9e67ff7029c099c9fd772d3dc3e23c955199.tar.gz
vdr-plugin-plex-21ee9e67ff7029c099c9fd772d3dc3e23c955199.tar.bz2
more skindesigner support
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);
};
}