controlapi: rework epgsearch code

* /control/epgsearch?<keywords>
 or
* /control/epgsearch?search=<keywords>[&epginfo=false][&format=plain|xml|json]

- add search-function to /control/epg

* /control/epg?search=<keywords>

- mark /control/epgsearchxml as deprecated


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5997f42b7e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-15 (Mon, 15 Feb 2016)

Origin message was:
------------------
- controlapi: rework epgsearch code

* /control/epgsearch?<keywords>
 or
* /control/epgsearch?search=<keywords>[&epginfo=false][&format=plain|xml|json]

- add search-function to /control/epg

* /control/epg?search=<keywords>

- mark /control/epgsearchxml as deprecated


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-02-15 21:41:10 +01:00
parent acecdbb206
commit c19e0cfcf4
3 changed files with 180 additions and 174 deletions

View File

@@ -31,6 +31,7 @@ private:
// send functions for ExecuteCGI (controld api)
void SendEventList(CyhookHandler *hh,t_channel_id channel_id);
void SendFoundEvents(CyhookHandler *hh, bool xml_format = false);
void SendcurrentVAPid(CyhookHandler *hh);
void SendAllCurrentVAPid(CyhookHandler *hh);
void SendStreamInfo(CyhookHandler *hh);