A docker container which allows for two separate instances of ZAP2XML using environment variables. There is also a dummy xmltv generator.
The chosen services are run every eight hours as part of a cronjob. Once they are completed XTEVE's playlists and XMLTV will be updated via an API call (API must be enabled in XTEVE's settings).
The XTEVE webui can be accessed via http://XIP:34400/web.
version: '3'
services:
xmltvgrabber:
container_name: xmltvgrabber
image: ghcr.io/colino17/xmltvgrabber-docker:latest
restart: unless-stopped
volumes:
- /path/to/xmltv:/xmltv
- /path/to/extras:/extras
environment:
### Primary ZAP2XML instance
- Z1=true
- ZUSER1=username
- ZPASS1=password
- ZXML1=zap1.xml
- ZARG1=
### Secondary ZAP2XML instance
- Z2=true
- ZUSER2=username
- ZPASS2=password
- ZXML2=zap2.xml
- ZARG2=
### XTEVE API information
- XTEVE=true
- XIP=local ip address
- XPORT=34400
### DUMMY XMLTV instance
- DUMMY=true