losenmann/iptv-toolkit

By losenmann

Updated about 1 year ago

A set of tools for working with IPTV services: Playlists, EPG, UDPXY

Image
Networking
Web servers
Content management system
0

4.9K

losenmann/iptv-toolkit repository overview

IPTV Toolkit

Golang Docker Kubernetes Maintainer GitHub License GitHub Releases

Overview

The service allows you to convert iptv and epg playlists. For playlists, conversion is carried out in the following formats: m3u, m3u8, xml. EPG conversion is carried out in the following formats: jtv, xml, xml.gz.
The service supports automatic detection of the EPG type and playlists.
Also, there is support for creating a playlist with a built-in udpxy link: from udp://@238.0.0.0:1234 to http://udpxy.local:4022/udp/238.0.0.0:1234 There is support for integrating links to EPG into the playlist file.
Also in the background, the udpxy proxy server is launched, allowing you to convert Multicast traffic to HLS. Along with this, a simple file service is launched to download playlists and EPG.

Note

Server file access endpoint: "/files/". For UDPXY: "/udp/" and "/status/".
Supported tools

Quick start

  • Docker Compose

    docker-compose up -d -f ./docker-compose.yaml
    
  • Kubernetes

    kubectl apply -n media -f https://raw.githubusercontent.com/Losenmann/iptv-toolkit/refs/heads/master/deploy/kubernetes.yaml
    

Important

For Docker, need to edit the [.env](./deploy/.env) file in place next to docker-compose.
For Kubernetes, need to edit and apply the [ConfigMap](./deploy/kubernetes-configmap.yaml) before deployment. Also edit the Ingress resource host, for example, via kubectl edit.

Environment Variables and CLI Key

Environmental variables and key CLI applicable in all operating modes.

VariablesKeyDefaultDescription
IPTVTOOLKIT_EPG-enoneLink to tv guide
IPTVTOOLKIT_EPG_DST-E./files/tvguidePath of export of EPGs
IPTVTOOLKIT_PLAYLIST-pnoneLink to channels playlist
IPTVTOOLKIT_PLAYLIST_DST-P./files/playlistPath of export of Playlists
IPTVTOOLKIT_PLAYLIST_UDPXY-unoneCreate a playlist with a formatted
udp link in udpxy format
IPTVTOOLKIT_PLAYLIST_EMBED_EPG-inoneLink to epg integrated into playlist
IPTVTOOLKIT_WEB_PATH-f./filesPath to display files by web server
IPTVTOOLKIT_WEB_PORT-P4023Web server port
IPTVTOOLKIT_CRONTAB-c30 6 * * *Сrontab style task schedule
none-SfalseStart Schedule job
none-UfalseStart UDPXY proxy
none-WfalseStart Web Server

Important

Environment variables repeat CLI.
CLI key take precedence over environment variables.

Tag summary

Content type

Image

Digest

sha256:4e79216a2

Size

4.9 MB

Last updated

about 1 year ago

docker pull losenmann/iptv-toolkit