summaryrefslogtreecommitdiff
path: root/vdr-smarttvweb/httpresource.h
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-01-05 16:37:48 +0100
committerthlo <t.lohmar@gmx.de>2013-01-05 16:37:48 +0100
commita84fb47821356729f6bbcf5813aec5f7c6faafed (patch)
treeca3b209b5179ce9e87a9b4371a50e7747a54fba6 /vdr-smarttvweb/httpresource.h
parenta857c8fd7546029ddc666f835a0930f19a33be94 (diff)
downloadvdr-plugin-smarttvweb-a84fb47821356729f6bbcf5813aec5f7c6faafed.tar.gz
vdr-plugin-smarttvweb-a84fb47821356729f6bbcf5813aec5f7c6faafed.tar.bz2
New Web Front End. Various bug fixes.
Diffstat (limited to 'vdr-smarttvweb/httpresource.h')
-rw-r--r--vdr-smarttvweb/httpresource.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/vdr-smarttvweb/httpresource.h b/vdr-smarttvweb/httpresource.h
index 31148e2..79459b2 100644
--- a/vdr-smarttvweb/httpresource.h
+++ b/vdr-smarttvweb/httpresource.h
@@ -110,7 +110,6 @@ class cHttpResource {
int mBlkPos;
int mBlkLen;
- // string path;
string mRequest;
string mQuery;
string mPath;
@@ -131,9 +130,6 @@ class cHttpResource {
bool mIsRecording;
float mRecProgress;
- // int writeToClient(const char *buf, size_t buflen);
- // int sendDataChunk();
-
void setNonBlocking();
int fillDataBlk();
@@ -143,20 +139,17 @@ class cHttpResource {
int processHttpHeaderNew();
int readRequestPayload();
- // int processHttpHeader();
void sendError(int status, const char *title, const char *extra, const char *text);
int sendDir(struct stat *statbuf);
int sendVdrDir(struct stat *statbuf);
- int sendRecordingsHtml (struct stat *statbuf);
int sendRecordingsXml (struct stat *statbuf);
int sendChannelsXml (struct stat *statbuf);
int sendEpgXml (struct stat *statbuf);
int sendMediaXml (struct stat *statbuf);
- // int sendMPD (struct stat *statbuf);
int sendManifest (struct stat *statbuf, bool is_hls = true);
- void writeM3U8(float duration, float seg_dur, int end_seg);
- void writeMPD(float duration, float seg_dur, int end_seg);
+ void writeM3U8(double duration, float seg_dur, int end_seg);
+ void writeMPD(double duration, float seg_dur, int end_seg);
int sendMediaSegment (struct stat *statbuf);
@@ -181,9 +174,5 @@ 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);
- // string removeEtChar(string line);
- // string hexDump(string input);
- // string convertUrl(string input);
- // string convertBack(string input);
};
#endif