Commit Graph

61 Commits

Author SHA1 Message Date
[CST] Focus
14a73c3b80 nhttpd: try to fix threaded nhttp crashes (again) 2016-03-08 18:05:34 +03:00
svenhoefer
9b64861912 - partly revert e855ceef8e5a3719be4252aa5c5ef4be561d72d5; ...
... "copy event to prevent crash in multi-threaded mode"
2016-03-07 20:11:57 +01:00
Jacek Jendrzej
9fc9b228ed src/nhttpd/tuxboxapi/controlapi.cpp fix 64bit AddressSanitizer: heap-buffer-overflow 2016-03-03 20:49:58 +01:00
[CST] Focus
fc11a76c01 nhttpd/tuxboxapi/controlapi.cpp: add direct record start for current channel 2016-03-02 14:30:51 +03:00
svenhoefer
6a38042071 - controlapi/getmode: allow to get channelsmode in all stb modes 2016-03-01 10:01:35 +01:00
svenhoefer
dcec44b8d6 - controlapi/epg: resort order of items; last order brakes plugins 2016-02-27 00:03:34 +01:00
vanhofen
63333053f5 - controlapi/timer: fix json output 2016-02-26 09:03:24 +01:00
svenhoefer
9615f547d5 - controlapi/timer: allow json output 2016-02-25 15:35:27 +01:00
Jacek Jendrzej
d96f15fb6c fix AddressSanitizer: strncpy-param-overlap: memory ranges 2016-02-24 18:46:12 +01:00
svenhoefer
c6207d1cff - controlapi/epgsearch: fix display of eventid 2016-02-24 16:45:52 +01:00
svenhoefer
911f333a7f - controlapi/epg: add fallback when no channel or bouquet is given
This function needs a fix, because "bouquetnr=all" breakes json output.
2016-02-24 16:45:52 +01:00
svenhoefer
72cec30e97 - controlapi/getchannel: fix possible crash when channel = NULL 2016-02-24 16:45:52 +01:00
svenhoefer
2d209a90d7 - controlapi: add small documentations for new stuff 2016-02-24 14:38:25 +01:00
svenhoefer
3a94e620c9 - controlapi: add epginfo=false switch to epg output 2016-02-24 13:52:23 +01:00
svenhoefer
e855ceef8e - controlapi: add /getchannel function to get infos about current channel.
- controlapi: copy event to prevent crash in multi-threaded mode
2016-02-24 13:49:19 +01:00
svenhoefer
3ceaae4efb - controlapi: add /getchannelid function to get full id too 2016-02-24 13:43:35 +01:00
svenhoefer
f7fefac508 - controlapi/logolist: use well-known tags for channelid's 2016-02-24 13:43:26 +01:00
svenhoefer
69615480f1 - yhook: rename outCollection() => outObject() to be more json 2016-02-23 14:56:52 +01:00
svenhoefer
43bab4b534 - control/logolist: allow json/xml output 2016-02-23 14:42:28 +01:00
svenhoefer
3fd3f2ba1f - control/epgsearch: use outSingle instead of direct WriteLn 2016-02-22 23:56:08 +01:00
svenhoefer
f9ac2b32cd - control/epgsearch: fix old plain text output 2016-02-22 23:24:07 +01:00
svenhoefer
b5e2998d54 - controlapi/mod_yparse: avoid double code ...
... by moving functions to execute scripts to helpers.cpp|h
Change outType from ExecCGI to text/plain because all arguments
are passed to the script. So no format can be defined.
2016-02-22 14:15:02 +01:00
svenhoefer
10252bd09c - controlapi/getmode: get right mode; allow json/xml output 2016-02-22 01:18:48 +01:00
svenhoefer
5497621f4d - controlapi/statfs: remove unneccessary array from xml/json 2016-02-22 01:18:48 +01:00
svenhoefer
7b1b9afba8 - controlapi: use getOutType() function 2016-02-22 01:18:48 +01:00
svenhoefer
ca34eadcf1 - controlapi: reformat yCgiCallList 2016-02-21 20:20:23 +01:00
svenhoefer
89e0ba1a41 - yhook: remove unnecessary line feeds from plain output; ...
align control/getbouquet
2016-02-21 01:55:32 +01:00
svenhoefer
1c73ca39e7 - controlapi: simplify result output 2016-02-21 00:16:42 +01:00
svenhoefer
0927756467 - controlapi/statfs: simplify error handling 2016-02-20 23:10:17 +01:00
svenhoefer
e407ef5a98 - controlapi/config: simplify error handling 2016-02-20 23:08:41 +01:00
svenhoefer
e765ab983b - controlapi: rename EpgSearchTXTCGI -> EpgSearchCGI 2016-02-20 20:56:15 +01:00
svenhoefer
8375f9ffb6 - controlapi: add statfs output for a given path 2016-02-20 14:39:11 +01:00
svenhoefer
b14383e0df - controlapi/file: switch to new plain output format 2016-02-20 14:39:11 +01:00
svenhoefer
b941eb950e - controlapi/config: switch to new plain output format 2016-02-20 14:39:11 +01:00
svenhoefer
4c679613d6 - yhook: introduce new format for plain output; key=value 2016-02-20 14:39:10 +01:00
svenhoefer
4af175c923 - controlapi/epgsearch: fix title output 2016-02-19 10:14:37 +01:00
svenhoefer
a262784d38 - controlapi/epgsearch: fix fsk output 2016-02-19 09:52:57 +01:00
Ezak
f803d0a0c6 add getdir control 2016-02-19 00:33:37 +01:00
svenhoefer
c2c7f08c15 - controlapi: whitespace cleanup FileCGI; fix compiler warning 2016-02-18 16:21:21 +01:00
TangoCash
21fbadaa8f controlapi: sort files alphabetical 2016-02-18 16:21:21 +01:00
svenhoefer
587dc1e179 - controlapi/epgsearch: extend epginfo switch 2016-02-17 16:11:10 +01:00
svenhoefer
be83e3569e - controlapi: fix broken epgsearch json output; ...
NOTE! xml output is changed to get same structure as in other
functions like control/config or control/file

old:
---
<neutrino>
    <epgsearch>
        ...
    </epgsearch>
</neutrino>

new:
---
<epgsearch>
    <item>
        ...
    </item>
</epgsearch>
2016-02-17 12:37:27 +01:00
[CST] Focus
ecb5e06128 nhttp: change mutex type to recursive 2016-02-16 18:56:10 +03:00
svenhoefer
5997f42b7e - 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
2016-02-15 21:45:49 +01:00
[CST] Focus
8abb547cca nhttp: re-enable threading; lock NeutrinoAPI calls 2016-02-13 11:48:02 +01:00
svenhoefer
809a7dcb45 - controlapi: allow to get moviebrowser.conf with config call 2016-02-11 21:59:24 +01:00
svenhoefer
58303bbc8c - controlapi: remove unused variable ‘epgid’ 2016-02-11 18:46:27 +01:00
svenhoefer
1e39ce6289 - controlapi: resort and fix getbouquet output; ...
NOTE: last hh->outPair() call *must* have a false bool _next
2016-02-11 18:23:45 +01:00
TangoCash
5de651e4dd add some more epg details to ControlAPI (getbouquet) 2016-02-11 09:40:26 +01:00
svenhoefer
3553030bce - controlapi: add possibility to check status of remote control 2016-01-21 11:17:05 +01:00