/HLS-XMLTV-Docker

Containerized version of HLS XMLTV - Create your own TV Channel's on your home network

Primary LanguageShellGNU General Public License v3.0GPL-3.0

This is a Docker containerized version of HLS / XMLTV Home broadcasting


HLS / XMLTV Home broadcasting (Docker Version)

Requirements

  • Docker
  • Docker-Compose

(if no docker compose installed, a experimental docker run command is in docker-compose.yml)

Setup

Build Docker Image

  • clone or download repo to your host
  • edit docker-compose.yml with your details
  • run:
$ bash build.sh

this will pass variables to docker-compose up

Configue

  • run:
$ bash tools.sh

this should make your life much easier all the items below are available - (this can copied anywhere you like on the host)

  • create concat lists for your channels
  • edit config.cfg changing the info in arg_array with your channel info - (if you want full episode info and not just filenames you need to enter a tvmaze show id...its the number in the main show url)
  • once all setup, comment out the "IF CRON EXIT" line in the config file and save
#if [ "$1" = "CRON_USER" ]; then exit; fi

Notes

if you want to force it to update you can restart, or it will boot itself in 3 minuites you can watch the files start to be generated in <docker_host_ip>:3000/, the first run will take a while to generate the epg but the m3u8 will be readible in the streams folder almost immediately (these can be copy and paste into VLC open network stream for the impatient)

once the script finished the m3u will be in the base dir of the webdir and xmltv will be in the sub folder

License