summaryrefslogtreecommitdiff
path: root/XmlObject.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 /XmlObject.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 'XmlObject.h')
-rw-r--r--XmlObject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/XmlObject.h b/XmlObject.h
index db9969a..16b63b7 100644
--- a/XmlObject.h
+++ b/XmlObject.h
@@ -12,6 +12,7 @@ namespace plexclient
{
enum MediaType {UNDEF = 0, PHOTO, MOVIE, MUSIC, SHOW, SEASON};
+enum StreamType {sUNDEF = 0, sVIDEO = 1, sAUDIO = 2, sSUBTITLE = 3};
class XmlObject
{
@@ -25,6 +26,7 @@ protected:
static bool GetNodeValueAsBool(Poco::XML::Node* pNode);
static Poco::Timestamp GetNodeValueAsTimeStamp(Poco::XML::Node* pNode);
static MediaType GetNodeValueAsMediaType(Poco::XML::Node* pNode);
+ static StreamType GetNodeValueAsStreamType(Poco::XML::Node* pNode);
private:
};