go get -u github.com/gin-contrib/static
go get -u github.com/gin-gonic/gin
go get -u github.com/urfave/cli
go get -u gopkg.in/yaml.v2
Build Web Client
cd web-client
yarn install
yarn build
cd ..
vim iptvcfg.conf # Configure iptv details
mkdir hls # Create chache folder, default is ./hls
go run iptv.go
How to watch IPTV
The IPTV channel playlist's location depends on what you configure in iptvcfg.conf's IPTVServer -> ServerAddr
And the playlist's location will be: IPv4:Port/iptv/index.m3u
Generally
Using Web to check IPTV channel is an general way to do it. You can use our web to view IPTV channel.
Open your web browser, goto the ip:port you have configured in iptvcfg.conf's ServerAddr.