diff options
author | thlo <smarttv640@gmail.com> | 2016-08-13 12:43:40 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2016-08-13 12:43:40 +0200 |
commit | 24ad136d8851411c988b4c95c6adca4d09f74d61 (patch) | |
tree | e4d8df780a6dec4a0cc8e40cc2e8bec2bcc2f39c | |
parent | 8f61b1c5602b7ea85549ae1c5ae2a1720457dd96 (diff) | |
download | vdr-plugin-smarttvweb-24ad136d8851411c988b4c95c6adca4d09f74d61.tar.gz vdr-plugin-smarttvweb-24ad136d8851411c988b4c95c6adca4d09f74d61.tar.bz2 |
widget.conf creation from memory added.
-rwxr-xr-x | httpresource.c | 6 |
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"; |