Commit Graph

64 Commits

Author SHA1 Message Date
Marc Szymkowiak
73f6e9df2a add getmovies control
Origin commit data
------------------
Commit: f323f61785
Author: Marc Szymkowiak <marc.szymkowiak91@googlemail.com>
Date: 2016-02-19 (Fri, 19 Feb 2016)
2016-03-19 13:52:07 +01:00
Marc Szymkowiak
07ee447e97 remove unused vars in controlapi
Origin commit data
------------------
Commit: 5ac755f75c
Author: Marc Szymkowiak <marc.szymkowiak91@googlemail.com>
Date: 2016-02-19 (Fri, 19 Feb 2016)
2016-03-19 13:52:07 +01:00
Jacek Jendrzej
964e9042cb src/nhttpd/tuxboxapi/ fix AddressSanitizer: strcpy-param-overlap: memory ranges
Origin commit data
------------------
Commit: 0f2c2c7631
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-03-12 (Sat, 12 Mar 2016)
2016-03-12 18:55:53 +01:00
[CST] Focus
86c6632755 nhttpd: try to fix threaded nhttp crashes (again)
Origin commit data
------------------
Commit: 14a73c3b80
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-03-08 (Tue, 08 Mar 2016)
2016-03-08 18:05:34 +03:00
vanhofen
b900b262fd partly revert af4c52f488922910431010030b08dde65de7e3ad; ...
... "copy event to prevent crash in multi-threaded mode"


Origin commit data
------------------
Commit: 9b64861912
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-06 (Sun, 06 Mar 2016)

Origin message was:
------------------
- partly revert af4c52f488922910431010030b08dde65de7e3ad; ...

... "copy event to prevent crash in multi-threaded mode"
2016-03-07 20:11:57 +01:00
Jacek Jendrzej
5b3b2b19c1 src/nhttpd/tuxboxapi/controlapi.cpp fix 64bit AddressSanitizer: heap-buffer-overflow
Origin commit data
------------------
Commit: 9fc9b228ed
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-03-03 (Thu, 03 Mar 2016)
2016-03-03 20:49:58 +01:00
[CST] Focus
c4a07ea711 nhttpd/tuxboxapi/controlapi.cpp: add direct record start for current channel
Origin commit data
------------------
Commit: fc11a76c01
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-03-02 (Wed, 02 Mar 2016)
2016-03-02 14:30:51 +03:00
vanhofen
8c7d6db807 controlapi/getmode: allow to get channelsmode in all stb modes
Origin commit data
------------------
Commit: 6a38042071
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-01 (Tue, 01 Mar 2016)

Origin message was:
------------------
- controlapi/getmode: allow to get channelsmode in all stb modes
2016-03-01 10:01:35 +01:00
vanhofen
c3dc083199 controlapi/epg: resort order of items; last order brakes plugins
Origin commit data
------------------
Commit: dcec44b8d6
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-27 (Sat, 27 Feb 2016)

Origin message was:
------------------
- controlapi/epg: resort order of items; last order brakes plugins
2016-02-27 00:03:34 +01:00
vanhofen
d6fde778d8 controlapi/timer: fix json output
Origin commit data
------------------
Commit: 63333053f5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-26 (Fri, 26 Feb 2016)

Origin message was:
------------------
- controlapi/timer: fix json output
2016-02-26 09:03:24 +01:00
vanhofen
02abb61969 controlapi/timer: allow json output
Origin commit data
------------------
Commit: 9615f547d5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-25 (Thu, 25 Feb 2016)

Origin message was:
------------------
- controlapi/timer: allow json output
2016-02-25 15:35:27 +01:00
Jacek Jendrzej
987757d215 fix AddressSanitizer: strncpy-param-overlap: memory ranges
Origin commit data
------------------
Commit: d96f15fb6c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-24 (Wed, 24 Feb 2016)
2016-02-24 18:46:12 +01:00
vanhofen
64fdadc288 controlapi/epgsearch: fix display of eventid
Origin commit data
------------------
Commit: c6207d1cff
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi/epgsearch: fix display of eventid
2016-02-24 16:45:52 +01:00
vanhofen
76497b73ff controlapi/epg: add fallback when no channel or bouquet is given
This function needs a fix, because "bouquetnr=all" breakes json output.


Origin commit data
------------------
Commit: 911f333a7f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- 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
vanhofen
6731f49fd2 controlapi/getchannel: fix possible crash when channel = NULL
Origin commit data
------------------
Commit: 72cec30e97
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi/getchannel: fix possible crash when channel = NULL
2016-02-24 16:45:52 +01:00
vanhofen
ce972b16b8 controlapi: add small documentations for new stuff
Origin commit data
------------------
Commit: 2d209a90d7
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi: add small documentations for new stuff
2016-02-24 14:38:25 +01:00
vanhofen
0a43f3f9a1 controlapi: add epginfo=false switch to epg output
Origin commit data
------------------
Commit: 3a94e620c9
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi: add epginfo=false switch to epg output
2016-02-24 13:52:23 +01:00
vanhofen
af4c52f488 controlapi: add /getchannel function to get infos about current channel.
- controlapi: copy event to prevent crash in multi-threaded mode


Origin commit data
------------------
Commit: e855ceef8e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- 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
vanhofen
5a00327ca2 controlapi: add /getchannelid function to get full id too
Origin commit data
------------------
Commit: 3ceaae4efb
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi: add /getchannelid function to get full id too
2016-02-24 13:43:35 +01:00
vanhofen
5286a99f23 controlapi/logolist: use well-known tags for channelid's
Origin commit data
------------------
Commit: f7fefac508
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi/logolist: use well-known tags for channelid's
2016-02-24 13:43:26 +01:00
vanhofen
b1fa8daf5e yhook: rename outCollection() => outObject() to be more json
Origin commit data
------------------
Commit: 69615480f1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-23 (Tue, 23 Feb 2016)

Origin message was:
------------------
- yhook: rename outCollection() => outObject() to be more json
2016-02-23 14:56:52 +01:00
vanhofen
d608e92880 control/logolist: allow json/xml output
Origin commit data
------------------
Commit: 43bab4b534
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-23 (Tue, 23 Feb 2016)

Origin message was:
------------------
- control/logolist: allow json/xml output
2016-02-23 14:42:28 +01:00
vanhofen
4089d66866 control/epgsearch: use outSingle instead of direct WriteLn
Origin commit data
------------------
Commit: 3fd3f2ba1f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)

Origin message was:
------------------
- control/epgsearch: use outSingle instead of direct WriteLn
2016-02-22 23:56:08 +01:00
vanhofen
561fade8fe control/epgsearch: fix old plain text output
Origin commit data
------------------
Commit: f9ac2b32cd
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)

Origin message was:
------------------
- control/epgsearch: fix old plain text output
2016-02-22 23:24:07 +01:00
vanhofen
dc1c789a0d 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.


Origin commit data
------------------
Commit: b5e2998d54
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)

Origin message was:
------------------
- 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
vanhofen
9c7e163c67 controlapi/getmode: get right mode; allow json/xml output
Origin commit data
------------------
Commit: 10252bd09c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)

Origin message was:
------------------
- controlapi/getmode: get right mode; allow json/xml output
2016-02-22 01:18:48 +01:00
vanhofen
db95a61143 controlapi/statfs: remove unneccessary array from xml/json
Origin commit data
------------------
Commit: 5497621f4d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)

Origin message was:
------------------
- controlapi/statfs: remove unneccessary array from xml/json
2016-02-22 01:18:48 +01:00
vanhofen
f87f36b13b controlapi: use getOutType() function
Origin commit data
------------------
Commit: 7b1b9afba8
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)

Origin message was:
------------------
- controlapi: use getOutType() function
2016-02-22 01:18:48 +01:00
vanhofen
00774d8fde controlapi: reformat yCgiCallList
Origin commit data
------------------
Commit: ca34eadcf1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)

Origin message was:
------------------
- controlapi: reformat yCgiCallList
2016-02-21 20:20:23 +01:00
vanhofen
ae476ce195 yhook: remove unnecessary line feeds from plain output; ...
align control/getbouquet


Origin commit data
------------------
Commit: 89e0ba1a41
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)

Origin message was:
------------------
- yhook: remove unnecessary line feeds from plain output; ...

align control/getbouquet
2016-02-21 01:55:32 +01:00
vanhofen
14bb43cee5 controlapi: simplify result output
Origin commit data
------------------
Commit: 1c73ca39e7
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)

Origin message was:
------------------
- controlapi: simplify result output
2016-02-21 00:16:42 +01:00
vanhofen
94230c54d8 controlapi/statfs: simplify error handling
Origin commit data
------------------
Commit: 0927756467
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi/statfs: simplify error handling
2016-02-20 23:10:17 +01:00
vanhofen
9de5aff014 controlapi/config: simplify error handling
Origin commit data
------------------
Commit: e407ef5a98
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi/config: simplify error handling
2016-02-20 23:08:41 +01:00
vanhofen
bd6cd82ef8 controlapi: rename EpgSearchTXTCGI -> EpgSearchCGI
Origin commit data
------------------
Commit: e765ab983b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi: rename EpgSearchTXTCGI -> EpgSearchCGI
2016-02-20 20:56:15 +01:00
vanhofen
300ad9b5ac controlapi: add statfs output for a given path
Origin commit data
------------------
Commit: 8375f9ffb6
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi: add statfs output for a given path
2016-02-20 14:39:11 +01:00
vanhofen
4387f7fbf3 controlapi/file: switch to new plain output format
Origin commit data
------------------
Commit: b14383e0df
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi/file: switch to new plain output format
2016-02-20 14:39:11 +01:00
vanhofen
68e6e3df9a controlapi/config: switch to new plain output format
Origin commit data
------------------
Commit: b941eb950e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi/config: switch to new plain output format
2016-02-20 14:39:11 +01:00
vanhofen
a975781295 yhook: introduce new format for plain output; key=value
Origin commit data
------------------
Commit: 4c679613d6
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- yhook: introduce new format for plain output; key=value
2016-02-20 14:39:10 +01:00
vanhofen
c8ac0e8670 controlapi/epgsearch: fix title output
Origin commit data
------------------
Commit: 4af175c923
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-19 (Fri, 19 Feb 2016)

Origin message was:
------------------
- controlapi/epgsearch: fix title output
2016-02-19 10:14:37 +01:00
vanhofen
2664922851 controlapi/epgsearch: fix fsk output
Origin commit data
------------------
Commit: a262784d38
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-19 (Fri, 19 Feb 2016)

Origin message was:
------------------
- controlapi/epgsearch: fix fsk output
2016-02-19 09:52:57 +01:00
Marc Szymkowiak
2da8818e83 add getdir control
Origin commit data
------------------
Commit: f803d0a0c6
Author: Marc Szymkowiak <marc.szymkowiak91@googlemail.com>
Date: 2016-02-18 (Thu, 18 Feb 2016)
2016-02-19 00:33:37 +01:00
vanhofen
d18473b8d6 controlapi: whitespace cleanup FileCGI; fix compiler warning
Origin commit data
------------------
Commit: c2c7f08c15
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-18 (Thu, 18 Feb 2016)

Origin message was:
------------------
- controlapi: whitespace cleanup FileCGI; fix compiler warning
2016-02-18 16:21:21 +01:00
TangoCash
ce7456bb25 controlapi: sort files alphabetical
Origin commit data
------------------
Commit: 21fbadaa8f
Author: TangoCash <eric@loxat.de>
Date: 2016-02-12 (Fri, 12 Feb 2016)
2016-02-18 16:21:21 +01:00
vanhofen
a255064760 controlapi/epgsearch: extend epginfo switch
Origin commit data
------------------
Commit: 587dc1e179
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-17 (Wed, 17 Feb 2016)

Origin message was:
------------------
- controlapi/epgsearch: extend epginfo switch
2016-02-17 16:11:10 +01:00
vanhofen
394955a0f2 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>


Origin commit data
------------------
Commit: be83e3569e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-17 (Wed, 17 Feb 2016)

Origin message was:
------------------
- 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
9c60c384e1 nhttp: change mutex type to recursive
Origin commit data
------------------
Commit: ecb5e06128
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
2016-02-16 18:56:10 +03:00
vanhofen
ecbbf4c29c 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
------------------
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
2016-02-15 21:45:49 +01:00
[CST] Focus
814cfe7cbf nhttp: re-enable threading; lock NeutrinoAPI calls
Origin commit data
------------------
Commit: 8abb547cca
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-02-13 (Sat, 13 Feb 2016)
2016-02-13 11:48:02 +01:00
vanhofen
4be683818b controlapi: allow to get moviebrowser.conf with config call
Origin commit data
------------------
Commit: 809a7dcb45
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-11 (Thu, 11 Feb 2016)

Origin message was:
------------------
- controlapi: allow to get moviebrowser.conf with config call
2016-02-11 21:59:24 +01:00
vanhofen
6a2b1a155b controlapi: remove unused variable ‘epgid’
Origin commit data
------------------
Commit: 58303bbc8c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-11 (Thu, 11 Feb 2016)

Origin message was:
------------------
- controlapi: remove unused variable ‘epgid’
2016-02-11 18:46:27 +01:00