summaryrefslogtreecommitdiff
path: root/vdr-smarttvweb/httpresource.h
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-01-19 14:19:23 +0100
committerthlo <t.lohmar@gmx.de>2013-01-19 14:19:23 +0100
commit3dddf326bd9f7c7992c28f32736fbe7911b9beb5 (patch)
tree97a7a4ddb9673f40d8d4ae76e3d7908001b7b76e /vdr-smarttvweb/httpresource.h
parentfa159f1ed0eba44d654cb835cfaceed276ec5a1b (diff)
downloadvdr-plugin-smarttvweb-3dddf326bd9f7c7992c28f32736fbe7911b9beb5.tar.gz
vdr-plugin-smarttvweb-3dddf326bd9f7c7992c28f32736fbe7911b9beb5.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.h7
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