summaryrefslogtreecommitdiff
path: root/Media.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-01-28 21:17:18 +0100
committerchriszero <zerov83@gmail.com>2015-01-28 21:17:18 +0100
commit87eb8a9e931606da4197391b6e3a09376b1383c2 (patch)
tree9427c28a2d7e9e44d4d77dc7fe53ff91f5152e23 /Media.h
parent1da4dbe662e75be47e046472137c6bd72daa7b4d (diff)
downloadvdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.gz
vdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.bz2
- Counting played time correctly
- Implemented switching audiostreams - Removed some compile warnings
Diffstat (limited to 'Media.h')
-rw-r--r--Media.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Media.h b/Media.h
index 5441bde..4d9b89e 100644
--- a/Media.h
+++ b/Media.h
@@ -16,6 +16,7 @@
#include <iostream>
#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<Stream> m_vStreams;
};
}