summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2016-08-13 12:43:40 +0200
committerthlo <smarttv640@gmail.com>2016-08-13 12:43:40 +0200
commit24ad136d8851411c988b4c95c6adca4d09f74d61 (patch)
treee4d8df780a6dec4a0cc8e40cc2e8bec2bcc2f39c
parent8f61b1c5602b7ea85549ae1c5ae2a1720457dd96 (diff)
downloadvdr-plugin-smarttvweb-24ad136d8851411c988b4c95c6adca4d09f74d61.tar.gz
vdr-plugin-smarttvweb-24ad136d8851411c988b4c95c6adca4d09f74d61.tar.bz2
widget.conf creation from memory added.
-rwxr-xr-xhttpresource.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/httpresource.c b/httpresource.c
index 60868ba..375460f 100755
--- a/httpresource.c
+++ b/httpresource.c
@@ -438,6 +438,12 @@ int cHttpResource::processRequest() {
return OKAY;
}
+ if (mPath.compare("/widget_vdr.conf") == 0) {
+ mResponse = new cResponseMemBlk(this);
+ ((cResponseMemBlk*)mResponse)->sendWidgetConf();
+ return OKAY;
+ }
+
if (mPath.compare("/widget.conf") == 0) {
mPath = mFactory->getConfigDir() + "/widget.conf";