Faster updated zap2xml written in node.js
967
Automate TV guides to XMLTV format. Easy to use, up-to-date. See below for getting started.
--sortname to sort by the Call Sign--nextpvr option to list Channel Number Call Sign first<episode-num system="dd_progid"> tag that Plex uses that was missing.--postalCode not required as long as Country and lineup Id correct except Over the Air<date> above <category> to match original Perl output. Corrected where Movie Release Year is properly displayed.<length> tag.--mediaportal option to use <episode-num system="xmltv_ns"> before others so Media Portal will display Season/Episode properlyChanges since previous release
| Tag | Description |
|---|---|
| latest | Stable zap2xml releases |
services:
zap2xml:
container_name: zap2xml
image: jesmannstl/zap2xml:latest
environment:
OUTPUT_FILE: /xmltv/xmltv.xml
volumes:
- ./xmltv:/xmltv
restart: unless-stopped
For a simple Docker run command:
docker run -d --name zap2xml \
-v /path/to/output:/xmltv \
-e OUTPUT_FILE=/xmltv/xmltv.xml \
jesmannstl/zap2xml:latest
| Variable | Description | Default |
|---|---|---|
LINEUP_ID | Lineup ID; Read more in the Wiki | USA-lineupId-DEFAULT (Attenna) |
TIMESPAN | Timespan in hours (up to 360 = 15 days, default: 72) | 72 |
PREF | User Preferences, comma separated list. m for showing music, p for showing pay-per-view, h for showing HD | (empty) |
COUNTRY | Country code (default: USA) | USA |
POSTAL_CODE | Postal code of where shows are available. Only required for Over the air | - |
USER_AGENT | Custom user agent string for HTTP requests. | Uses random if not specified |
TZ | Timezone | System default |
SLEEP_TIME | Sleep time before next run in seconds (default: 21600, Only used with Docker.) | 21600 |
OUTPUT_FILE | Output file name (default: xmltv.xml) | xmltv.xml |
APPEND_ASTERISK | Set TRUE to add * to Programs that are New or Live | FALSE |
MEDIA_PORTAL | Set TRUE to list <episode-num system="xmltv_ns"> tag before others to display | FALSE |
NEXTPVR | Set TRUE to list <display name>2 WCBSDT</display name> tag before others to display | FALSE |
SORTNAME | Set TRUE to sort output alphabetically by CallSign. Default is Channel Number from lineup. | FALSE |
STATIONID | Set TRUE to sort output by StationId. Default is Channel Number from lineup. | FALSE |
The SLEEP_TIME environment variable can be used to set the interval between runs. The default is 21600 seconds (6 hours).
Visit tvtv.us or tvtv.ca find your lineup and the lineupid is in the url. Example Directv New York in Zip Code 10001 is https://www.tvtv.us/ny/new-york/10001/luUSA-DITV501-X the lineupId is USA-DITV501-X See wiki at https://github.com/jesmannstl/zap2xml/wiki for a lot more
You can also run natively on your computer for that option visit http://github.com/jesmannstl/zap2xml
Content type
Image
Digest
sha256:55c244069…
Size
92.4 MB
Last updated
about 1 year ago
docker pull jesmann/zap2xml