tvheadend json api ?
Added by Daniel D over 7 years ago
Hello everyone
I wonder if there is a way to get more info about video and audio stream for every channel streamed by tvheadend (like bandwidth, audio level etc.. ).Something like json api which provides this info ?? also if there is a way to get my dvb-s tunner signal status through json api it would be perffect.
BR
Replies (1)
RE: tvheadend json api ? - Added by saen acro over 7 years ago
Some of values you need is implemented in Kodi TVH pvr client.
read this
https://tvheadend.org/projects/tvheadend/wiki/Htsp
https://tvheadend.org/boards/5/topics/9820
https://tvheadend.org/boards/5/topics/17149
http://admin:[email protected]:9981/api/serverinfo {"sw_version": "4.0.8~wheezy","api_version": 15,"name": "Tvheadend","capabilities": ["caclient","tvadapters","satip_client","satip_server","trace"]} http://admin:[email protected]:9981/api/epg/events/grid - returns tv listings guilde http://admin:[email protected]:9981/api/channel/list - returns list of all tv/radio channels {"entries":[ {"key": "8da5751f0c30fc8317d7d5875ce87bd4","val": "Markiza"}, ... } http://admin:[email protected]:9981/api/channel/grid - returns detailed info of all tv/radio channels, use "tags" attribute to distinguish tv/hdtv/sdtv/radio channels {"uuid": "...","enabled": true,"name": "Markiza","number": 0,"epgauto": true,"epggrab": [],"dvr_pre_time": 0,"dvr_pst_time": 0,"services": ["..."],"tags": ["...","..."],"bouquet": ""} http://admin:[email protected]:9981/api/channeltag/list - returns mapping of "tags" attribute {"entries": [{"key": "38b3ee78ee6655609b64d684706bed8b","val": "HDTV"},...} http://admin:[email protected]:9981/stream/channel/c2585aa2ec74d75fc022177c77c08dea - returns video stream which can be opened in VLC / html5 video tag, the channel id is uuid of channel/grid request - some extra http variables can be used to transcode the stream e.g. "?mux=PASS&transcode=1&acodec=AAC&vcodec=H264" http://admin:[email protected]:9981/api/mpegts/service/grid - returns multiplex list