television/README.md

20 lines
847 B
Markdown
Raw Normal View History

2023-12-30 21:30:04 -05:00
# Television
2023-12-30 23:16:42 -05:00
Multi channel stream setup with Flask REST API for scheduling channels.
2024-01-04 15:57:03 -05:00
2024-01-16 23:41:16 -05:00
### Install
1. `cp variables.env.dist variables.env` and set the required variables
2. run `./init.sh` to prepare data directories and generate self signed certs to bootstrap the load balancer
3. run the docker-compose stack using `docker-compose up -d --build --remove-orphans`
4. run `./renew-certificates.sh` periodically to generate/update the certificates
2024-01-12 20:26:24 -05:00
2024-01-16 23:41:16 -05:00
### Usage
1. Access the admin panel at `https://stream.example.com/ui`
2. Access the recordings gallery at `https://vod.example.com/`
### EPG stream priorities
2024-01-16 23:42:29 -05:00
- prio = 0 - scheduled
- prio = 1 - live
- prio = 2 - live and vod recording
2024-01-12 20:26:24 -05:00
2024-01-16 23:41:16 -05:00
### Purge vod database
2024-01-12 20:26:24 -05:00
`docker exec -ti television_archive_1 /app/gallery.js storage --storage /data/storage --database /data/config/database.db -l debug purge`