When service is started you can access to a self-explained and usable version of the API in: http://localhost:9999/api
Node JS installed. - git clone https://github.com/raulcalvo/iptv- cd iptv
- cd src
- npm install
- node index.js
In order to understand the behaviour of the software you may consider continue reading.
With the exposed API you can create lists, these lists have a few parameters:- List name
- Acestream host to play acestream links
- Acestream host's port
After creating a list (named FOO for example), you can download it in m3u8 format using:
http://localhost:9999/tv.m3u8?list=FOO
- Simple channels: An URL pointing to one m3u8 channel, and a name to identify it.
- URL: Url to a webpage that contains acestream links. These kind of sources have alse some extra parameters:
* Interval - Minutes between every refresh of this source
* inludeM3u8 - If true, when parsing url, m3u8 links present in the web page will be included in the playlist as simple channels
For every URL source, every "interval" time, IPTV will parse the webpage "URL", extract all the acestream links and put them into the source's playlist.