television/README.md
2024-01-17 03:13:45 +02:00

826 B

Television

Install

Multi channel stream setup with Flask REST API for scheduling channels.

  1. run ./init.sh to prepare data directories and generate self signed certs to bootstrap the load balancer
  2. cp variables.env.dist variables.env and set the required variables
  3. run ./renew-certificates.sh periodically to generate/update the certificates
  4. run the docker-compose stack using docker-compose up -d --build --remove-orphans
  5. Access the admin panel at https://stream.example.com/ui
  6. Access the recordings gallery at https://vod.example.com/

stream priorities

prio = 0 - scheduled prio = 1 - live prio = 2 - live and vod recording

purge vod database

docker exec -ti television_archive_1 /app/gallery.js storage --storage /data/storage --database /data/config/database.db -l debug purge