summaryrefslogtreecommitdiff
path: root/responsememblk.h
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-02 18:53:27 +0200
committerthlo <smarttv640@gmail.com>2013-09-02 18:53:27 +0200
commit9010746b5691cbab96fc9558751177b9287166f6 (patch)
tree411474a073c2d0b9b73928dcb2b270f4f1a761d9 /responsememblk.h
parent417202343b64947e80dbe14b4ab456cc6442e88c (diff)
downloadvdr-plugin-smarttvweb-9010746b5691cbab96fc9558751177b9287166f6.tar.gz
vdr-plugin-smarttvweb-9010746b5691cbab96fc9558751177b9287166f6.tar.bz2
Provide correct MIME types for media.xml
Diffstat (limited to 'responsememblk.h')
-rwxr-xr-xresponsememblk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/responsememblk.h b/responsememblk.h
index f0b1174..ce17989 100755
--- a/responsememblk.h
+++ b/responsememblk.h
@@ -38,8 +38,9 @@ struct sFileEntry {
string sName;
string sPath;
int sStart;
+ string sMime;
-sFileEntry(string n, string l, int s) : sName(n), sPath(l), sStart(s) {
+sFileEntry(string n, string l, int s, string m) : sName(n), sPath(l), sStart(s), sMime(m) {
};
};
@@ -91,7 +92,7 @@ class cResponseMemBlk : public cResponseBase {
int parseResume(cResumeEntry &entry, string &id);
int parseFiles(vector<sFileEntry> *entries, string prefix, string dir_base, string dir_name, struct stat *statbuf);
int sendDir(struct stat *statbuf);
- int writeXmlItem(string title, string link, string programme, string desc, string guid, int no, time_t start, int dur, double fps, int is_pes, int is_new);
+ int writeXmlItem(string title, string link, string programme, string desc, string guid, int no, time_t start, int dur, double fps, int is_pes, int is_new, string mime);
uint64_t getVdrFileSize();
private: