summaryrefslogtreecommitdiff
path: root/libcore/extrecinfo.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-10-20 17:35:52 +0200
committerlouis <louis.braun@gmx.de>2014-10-20 17:35:52 +0200
commit2c17177f2faa9e03d29fad3e0e4d9b0a827ca401 (patch)
tree1d47610c1ffc227251dabc5ef5958902f5ca86d4 /libcore/extrecinfo.h
parent49c6ef552c7964bd60d19380605c14ec21c36e7e (diff)
downloadvdr-plugin-skindesigner-2c17177f2faa9e03d29fad3e0e4d9b0a827ca401.tar.gz
vdr-plugin-skindesigner-2c17177f2faa9e03d29fad3e0e4d9b0a827ca401.tar.bz2
added extented recording information
Diffstat (limited to 'libcore/extrecinfo.h')
-rw-r--r--libcore/extrecinfo.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libcore/extrecinfo.h b/libcore/extrecinfo.h
new file mode 100644
index 0000000..9fb5bab
--- /dev/null
+++ b/libcore/extrecinfo.h
@@ -0,0 +1,36 @@
+#ifndef __EXTRECINFO_H
+#define __EXTRECINFO_H
+
+#include <vdr/recording.h>
+
+struct tAudioTrack {
+ string codec;
+ string bitrate;
+ string language;
+};
+
+class cExtRecInfo {
+private:
+ string xml;
+ size_t StripXmlTag(string &xmlstring, string &content, const char *tag, int start = 0);
+ size_t StripXmlTag(string &xmlstring, int &content, const char *tag, int start = 0);
+public:
+ cExtRecInfo(const char *xml);
+ ~cExtRecInfo(void);
+ bool Parse(void);
+ void Debug(void);
+ int resWidth;
+ int resHeight;
+ string resString;
+ bool isHD;
+ string aspectratio;
+ bool isWideScreen;
+ string codec;
+ string format;
+ string framerate;
+ string interlace;
+ bool isDolby;
+ vector< tAudioTrack > tracks;
+};
+
+#endif // __EXTRECINFO_H \ No newline at end of file