#ifndef VIDEO_H #define VIDEO_H #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef SKINDESIGNER #include #include "viewGridNavigator.h" #include "pictureCache.h" #endif #include "XmlObject.h" #include "MediaContainer.h" #include "Media.h" #include "PlexServer.h" using Poco::XML::DOMParser; using Poco::XML::Document; using Poco::XML::NodeIterator; using Poco::XML::NodeFilter; using Poco::XML::Node; using Poco::XML::AutoPtr; using Poco::Exception; namespace plexclient { class MediaContainer; class Video: private XmlObject #ifdef SKINDESIGNER ,public cGridElement #endif { private: MediaContainer* m_pParent; void Parse(Poco::XML::Node* pNode); void ParseExtras(Poco::XML::Node* pNode); public: Video(Poco::XML::Node* pNode, PlexServer* Server, MediaContainer* parent); Video() {}; public: int m_iRatingKey; std::string m_sKey; std::string m_sStudio; 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; double m_dRating; Poco::Timestamp m_tAddedAt; Poco::Timestamp m_tUpdatedAt; Poco::DateTime m_tOriginallyAvailableAt; std::vector m_vGenre; std::vector m_vWriter; std::vector m_vDirector; std::vector m_vCountry; std::vector m_vRole; std::string m_sCollection; Media m_Media; PlexServer* m_pServer; int m_iMyPlayOffset; int m_iIndex; int m_iParentIndex; std::vector