Kodi Community Forum
Linux Tvheadend rest api for management? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
+---- Thread: Linux Tvheadend rest api for management? (/showthread.php?tid=288143)



Tvheadend rest api for management? - giaur - 2016-08-24

Hi,

I'm planning to develop Android app to manage tvheadend servers - configure channels, services, recordings, get status etc. Is there any api (rest preffered) that can be used to simplify that task? Reuse existing extjs gui for that is not a good idea (difficult, if even possible).

There is also htsp api, but it's rather limited (especially, not possible to setup hardware, services and channels, correct me if I'm wrong)


RE: Tvheadend rest api for management? - glenn 1990 - 2016-08-25

The Htsp api isn't indeed meant to configure settings.
You can use the JSON api for this. For example "http://ipserver:9981/api/channel/grid" will return the list of channels.
The URL's are not documented but they can be found in de .c files here api
For further questions you can better use the tvheadend forum (tvheadend devs are over there).


RE: Tvheadend rest api for management? - giaur - 2016-08-28

JSON is great, thanks for tip. This is what I am looking for