The python helper rest service for iptv
Has multiple end points:
Will return non modified m3u playlist
Will return non modified gzipped m3u playlist
Will return modified m3u playlist, with populated tvg-id from your epg
Will download all epgs
Will filter all epg and construct combined epg with channels that only present in your m3u playlist
http://server-ip:101/update-filter
Will download and filter all epg in one go
Will return combined epg
Will return gzipped combined epg
Before building set playlist url in .env file:
M3U_URL=M3U_URL=http://your-iptv-provider/playlist.m3u8
Build and tag container:
sudo docker build -t redwid/iptv-helper .
sudo docker run -d --restart=unless-stopped \
--name iptv-helper \
--env-file .env \
-p 101:101 \
redwid/iptv-helper
Curl with cache on:
curl -vsH 'If-Modified-Since: Sun, 25 Jan 2024 17:20:57 GMT' 127.0.0.1:101/ttv -o ttv
Curl with gzip:
curl -vsH 'Accept-encoding: gzip' 127.0.0.1:101/ttv -o ttv