diff options
author | chriszero <zerov83@gmail.com> | 2015-04-05 13:31:04 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-05 13:31:04 +0200 |
commit | f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (patch) | |
tree | 4dd38d637ad2d5427c93a8d8d695e91c11df33d4 /PVideo.h | |
parent | 21ee9e67ff7029c099c9fd772d3dc3e23c955199 (diff) | |
download | vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.gz vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.bz2 |
More Skindesigner support.
Define a custom server
Diffstat (limited to 'PVideo.h')
-rw-r--r-- | PVideo.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -34,12 +34,13 @@ using Poco::Exception; namespace plexclient { class MediaContainer; - + class Video: private XmlObject, public cGridElement { private: + MediaContainer* m_pParent; void Parse(Poco::XML::Node* pNode); - + public: Video(Poco::XML::Node* pNode, PlexServer* Server, MediaContainer* parent); Video() {}; @@ -51,13 +52,16 @@ public: MediaType m_tType; std::string m_sTitle; std::string m_sOriginalTitle; + std::string m_sGrandparentTitle; std::string m_sContentRating; std::string m_sSummary; long m_lViewoffset; Poco::Timestamp m_tLastViewedAt; int m_iYear; std::string m_sThumb; + std::string m_sGrandparentThumb; std::string m_sArt; + std::string m_sGrandparentArt; long m_iDuration; int m_iViewCount; Poco::Timestamp m_tAddedAt; @@ -74,7 +78,7 @@ public: int m_iMyPlayOffset; int m_iIndex; int m_iParentIndex; - + virtual std::string GetTitle(); bool SetStream(Stream* stream); bool UpdateFromServer(); @@ -82,7 +86,7 @@ public: bool SetUnwatched(); std::string ThumbUri(); std::string ArtUri(); - + // gridElement virtual void AddTokens(std::shared_ptr<cOsdElement> grid, bool clear = true, std::function<void(cGridElement*)> OnCached = NULL); }; |