summaryrefslogtreecommitdiff
path: root/httpresource.c
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-05-25 12:13:34 +0200
committerthlo <t.lohmar@gmx.de>2013-05-25 12:13:34 +0200
commitaec1dc17d2b04236b4ea35fa1a44379602ee19b9 (patch)
treef4cdb2bcc8ffecdcfea5d2b723c7eb14881d3bdd /httpresource.c
parent12acbea847e73b13ff4e29af2455ebc60d9508f4 (diff)
downloadvdr-plugin-smarttvweb-aec1dc17d2b04236b4ea35fa1a44379602ee19b9.tar.gz
vdr-plugin-smarttvweb-aec1dc17d2b04236b4ea35fa1a44379602ee19b9.tar.bz2
serverName.xml added. Skeleton for getRecCmds.xml added.
Diffstat (limited to 'httpresource.c')
-rwxr-xr-xhttpresource.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/httpresource.c b/httpresource.c
index 08a3e08..e29358b 100755
--- a/httpresource.c
+++ b/httpresource.c
@@ -315,6 +315,12 @@ int cHttpResource::processRequest() {
return OKAY;
}
+ if (mPath.compare("/reccmds") == 0) {
+ mResponse = new cResponseMemBlk(this);
+ ((cResponseMemBlk*)mResponse)->sendRecCmds();
+ return OKAY;
+ }
+
if (mPath.compare("/setResume.xml") == 0) {
mResponse = new cResponseMemBlk(this);
((cResponseMemBlk*)mResponse)->receiveResume();
@@ -348,6 +354,13 @@ int cHttpResource::processRequest() {
}
#endif
+ if (mPath.compare("/serverName.xml") == 0) {
+ mResponse = new cResponseMemBlk(this);
+ ((cResponseMemBlk*)mResponse)->sendServerNameXml( );
+ return OKAY;
+ }
+
+
if (mPath.compare("/yt-bookmarklet.js") == 0) {
mResponse = new cResponseMemBlk(this);
((cResponseMemBlk*)mResponse)->sendYtBookmarkletJs();