From 87eb8a9e931606da4197391b6e3a09376b1383c2 Mon Sep 17 00:00:00 2001 From: chriszero Date: Wed, 28 Jan 2015 21:17:18 +0100 Subject: - Counting played time correctly - Implemented switching audiostreams - Removed some compile warnings --- Media.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Media.h') diff --git a/Media.h b/Media.h index 5441bde..4d9b89e 100644 --- a/Media.h +++ b/Media.h @@ -16,6 +16,7 @@ #include #include "XmlObject.h" // Base class: model::XmlObject +#include "Stream.h" using Poco::XML::DOMParser; using Poco::XML::Document; @@ -30,9 +31,9 @@ namespace plexclient class Media: XmlObject { -public: + public: + Media() {}; Media(Poco::XML::Node* pNode); - ~Media(); public: std::string m_sVideoResolution; @@ -54,7 +55,8 @@ public: std::string m_sPartFile; long m_lPartSize; std::string m_sPartContainer; - + + std::vector m_vStreams; }; } -- cgit v1.2.3