diff options
author | thlo <t.lohmar@gmx.de> | 2013-01-19 14:19:23 +0100 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-01-19 14:19:23 +0100 |
commit | fb4fde7ef4f0297790dae8c430246bba3d08e368 (patch) | |
tree | 97a7a4ddb9673f40d8d4ae76e3d7908001b7b76e /vdr-smarttvweb/httpresource.h | |
parent | 6df64d9467f59f6a5d8ae6aa6b177db8084beb43 (diff) | |
download | vdr-plugin-smarttvweb-fb4fde7ef4f0297790dae8c430246bba3d08e368.tar.gz vdr-plugin-smarttvweb-fb4fde7ef4f0297790dae8c430246bba3d08e368.tar.bz2 |
time query parameter. isnew in recordings.xml. Fixes.
Diffstat (limited to 'vdr-smarttvweb/httpresource.h')
-rwxr-xr-x[-rw-r--r--] | vdr-smarttvweb/httpresource.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vdr-smarttvweb/httpresource.h b/vdr-smarttvweb/httpresource.h index bb0df3a..fef59ce 100644..100755 --- a/vdr-smarttvweb/httpresource.h +++ b/vdr-smarttvweb/httpresource.h @@ -123,7 +123,7 @@ class cHttpResource { bool mAcceptRanges; cRange rangeHdr; unsigned long long mFileSize; - uint mRemLength; + uint64_t mRemLength; FILE *mFile; int mVdrIdx; string mFileStructure; @@ -144,6 +144,7 @@ class cHttpResource { int sendVdrDir(struct stat *statbuf); int sendRecordingsXml (struct stat *statbuf); int sendChannelsXml (struct stat *statbuf); + int sendResumeXml (struct stat *statbuf); int sendEpgXml (struct stat *statbuf); int sendMediaXml (struct stat *statbuf); @@ -163,7 +164,7 @@ class cHttpResource { const char *getMimeType(const char *name); string getConnStateName(); void checkRecording(); - void checkForTimeRequest(); + bool isTimeRequest(struct stat *statbuf); int parseRangeHeaderValue(string); int parseHttpRequestLine(string); int parseHttpHeaderLine (string); @@ -174,6 +175,6 @@ class cHttpResource { int getQueryAttributeValue(vector<sQueryAVP> *avps, string id, string &val); int openFile(const char *name); - int writeXmlItem(string title, string link, string programme, string desc, string guid, time_t start, int dur, int fps, int is_pes); + int writeXmlItem(string title, string link, string programme, string desc, string guid, time_t start, int dur, double fps, int is_pes, int is_new); }; #endif |