Sign inSign up

gnarr/epg

By gnarr

•Updated about 1 year ago

Utilities for downloading the EPG for thousands of TV channels from hundreds of sources.

Image
0

2.5K

gnarr/epg repository overview

This image is automatically built by a github action that follows all changes to iptv-org/epg⁠.

⁠EPG update

Tools for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.

⁠Table of contents

⁠Docker

⁠Create and run container
docker run -p 3000:3000 -v /path/to/channels.xml:/epg/channels.xml gnarr/epg

By default, the guide will be downloaded every day at 00:00 UTC and saved to the /epg/public/guide.xml file inside the container.

From the outside, it will be available at this link:

http://localhost:3000/guide.xml

or

http://<your_local_ip_address>:3000/guide.xml
⁠Environment Variables

To fine-tune the execution, you can pass environment variables to the container as follows:

docker run \
-p 5000:3000 \
-v /path/to/channels.xml:/epg/channels.xml \
-e CRON_SCHEDULE="0 0,12 * * *" \
-e MAX_CONNECTIONS=10 \
-e GZIP=true \
-e CURL=true \
-e PROXY="socks5://127.0.0.1:1234" \
-e DAYS=14 \
-e TIMEOUT=5 \
-e DELAY=2 \
gnarr/epg
VariableDescription
CRON_SCHEDULEA cron expression⁠ describing the schedule of the guide loadings (default: "0 0 * * *")
MAX_CONNECTIONSLimit on the number of concurrent requests (default: 1)
GZIPBoolean value indicating whether to create a compressed version of the guide (default: false)
CURLDisplay each request as CURL (default: false)
PROXYUse the specified proxy
DAYSNumber of days for which the guide will be loaded (defaults to the value from the site config)
TIMEOUTTimeout for each request in milliseconds (default: 0)
DELAYDelay between request in milliseconds (default: 0)
RUN_AT_STARTUPRun grab on container startup (default: true)

⁠Database

All channel data is taken from the iptv-org/database⁠ repository. If you find any errors please open a new issue⁠ there.

⁠API

The API documentation can be found in the iptv-org/api⁠ repository.

⁠Resources

Links to other useful IPTV-related resources can be found in the iptv-org/awesome-iptv⁠ repository.

⁠Discussions

If you have a question or an idea, you can post it in the Discussions⁠ tab.

⁠Contribution

Please make sure to read the Contributing Guide⁠ before sending issue⁠ or a pull request⁠.

And thank you to everyone who has already contributed!

⁠Backers

⁠Contributors

⁠License

CC0

Tag summary

Content type

Image

Digest

sha256:b03ce51a0…

Size

291.2 MB

Last updated

about 1 year ago

docker pull gnarr/epg