diff options
author | thlo <t.lohmar@gmx.de> | 2013-04-29 20:26:53 +0200 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-04-29 20:26:53 +0200 |
commit | 5a8bf27d89d82d0bb1ea0939c74c1f122f6f6ae3 (patch) | |
tree | ab499437db93214fb753fe303af58d6d2baf16fd /httpresource.c | |
parent | 7fe1953d5bb204ec97e8f5032b0f7ec5d0e1cbda (diff) | |
download | vdr-plugin-smarttvweb-5a8bf27d89d82d0bb1ea0939c74c1f122f6f6ae3.tar.gz vdr-plugin-smarttvweb-5a8bf27d89d82d0bb1ea0939c74c1f122f6f6ae3.tar.bz2 |
Added Delete YT Urls, Get notification for starting and finishing recordings, resume fix, query recording info of a single item.
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/httpresource.c b/httpresource.c index e20bf00..f718816 100755 --- a/httpresource.c +++ b/httpresource.c @@ -92,10 +92,10 @@ cHttpResource::cHttpResource(int f, int id, int port, SmartTvServer* factory): c setNonBlocking(); // mBlkData = new char[MAXLEN]; - //#ifndef DEBUG +#ifndef DEBUG *(mLog->log()) << DEBUGPREFIX << " cHttpResource created" << endl; - //#endif +#endif } @@ -580,6 +580,13 @@ int cHttpResource::handlePost() { return OKAY; } + if (mPath.compare("/deleteYtUrl") == 0) { + + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveDelYtUrl(); + return OKAY; + } + if (mPath.compare("/deleteRecording.xml") == 0) { mResponse = new cResponseMemBlk(this); |