diff options
author | thlo <smarttv640@gmail.com> | 2013-09-02 18:53:27 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2013-09-02 18:53:27 +0200 |
commit | c8990cb5fcb0837ded0ba5281b086d44c904d18f (patch) | |
tree | 411474a073c2d0b9b73928dcb2b270f4f1a761d9 /responsememblk.h | |
parent | b67fdbd19781ea9a5c00e5ce2332ae80aa4e2647 (diff) | |
download | vdr-plugin-smarttvweb-c8990cb5fcb0837ded0ba5281b086d44c904d18f.tar.gz vdr-plugin-smarttvweb-c8990cb5fcb0837ded0ba5281b086d44c904d18f.tar.bz2 |
Provide correct MIME types for media.xml
Diffstat (limited to 'responsememblk.h')
-rwxr-xr-x | responsememblk.h | 5 |
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: |