https://github.com/royaltongue/hdhomerun-epgxml-docker
Connect to your local HDHomeRun device and pull the XMLTV data from it, now in a Docker container with cron!
https://github.com/royaltongue/hdhomerun-epgxml-docker
docker epg hdhomerun iptv xmltv
Last synced: 6 months ago
JSON representation
Connect to your local HDHomeRun device and pull the XMLTV data from it, now in a Docker container with cron!
- Host: GitHub
- URL: https://github.com/royaltongue/hdhomerun-epgxml-docker
- Owner: royaltongue
- Created: 2025-04-05T13:52:24.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T13:58:03.000Z (6 months ago)
- Last Synced: 2025-04-05T14:30:59.410Z (6 months ago)
- Topics: docker, epg, hdhomerun, iptv, xmltv
- Language: Dockerfile
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HDHomeRun-epgXML Docker
# Attribution
Original script from [andyg5000/HdHomeRunEpgXml](https://github.com/andyg5000/HdHomeRunEpgXml)
# Description
Connect to your local HDHomeRun device and pull the XMLTV data from it, now in a Docker container with cron!
# Setup
`docker-compose.yml````
services:
hdhomerun-epgxml:
container_name: hdhomerun-epgxml
image: curiouscocoon/hdhomerun-epgxml:latest
environment:
PUID: 1001
GUID: 1001
RUN_IMMEDIATELY: false
CRON_SCHEDULE: "00 03 * * *"
TZ: America/New_York
volumes:
- ./hdhomerun-epgxml/app/output:/app/output
network_mode: host # Required
restart: no
```## Variables
`PUID`: The user ID you want the `hdhomerun.xml` file to be owned by
`GUID`: The group ID you want the `hdhomerun.xml` file to be owned by
`RUN_IMMEDIATELY`: Whether or not the script should be run as soon as the container is started. Otherwise, it will only run on the cron schedule
`CRON_SCHEDULE`: The time and interval, in cron format, you want the script to be run at.
* It's recommended to run only once per day## Volumes
`/app/output`: Where the `hdhomerun.xml` file will be saved
# Usage
1) Spin up the container
2) Wait for the script to run automatically
3) ???
4) Profit# Notes
Unfortunately, I couldn't find a way to make the script not run as `root` user from within cron inside the Docker container, no matter what I tried. As a workaround, `root` simply `chown`s the file after it's been saved.