Skip to content

raulcalvo/iptv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPTV

What is IPTV

IPTV is a service written in Node JS , wich exposes and http api to create and manage m3u8 playlists. These playlists are refreshed periodically, and can be "filled" with simple m3u8 channels or acestream links.

When service is started you can access to a self-explained and usable version of the API in: http://localhost:9999/api

Requeriments:

Node JS installed.

Using IPTV:

- 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.

Understanding IPTV

Lists

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

Sources

The sources of these m3u8 playlists can be:
- 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

How it works

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published