Compare commits
2 Commits
2d72a74ee2
...
2a380da3e7
| Author | SHA1 | Date | |
|---|---|---|---|
|
2a380da3e7
|
|||
|
752f63a00d
|
44
README.md
44
README.md
@@ -61,14 +61,6 @@ in whatever XML-TV consumer you are using.
|
||||
This is an example of how you may give instructions on setting up your project locally.
|
||||
To get a local copy up and running follow these simple example steps.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
This is an example of how to list things you need to use the software and how to install them.
|
||||
* npm
|
||||
```sh
|
||||
npm install npm@latest -g
|
||||
```
|
||||
|
||||
### Installation
|
||||
|
||||
1. Build compose.yaml
|
||||
@@ -78,17 +70,39 @@ This is an example of how to list things you need to use the software and how to
|
||||
docker-epg:
|
||||
image: git.donnymims.com/dnny44/docker-epg:latest
|
||||
container_name: docker-epg
|
||||
volumes:
|
||||
- /mnt/data/docker-epg/guides:/epg/guides
|
||||
- /mnt/data/docker-epg/channels:/epg/channels
|
||||
restart: unless-stopped
|
||||
docker-epg-caddy:
|
||||
image: caddy:latest
|
||||
container_name: docker-epg-caddy
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 8080:80
|
||||
networks: {}
|
||||
- 9880:80
|
||||
command: caddy file-server --root /guides/
|
||||
volumes:
|
||||
- /mnt/data/docker-epg/guides:/guides
|
||||
networks:
|
||||
- caddy_net
|
||||
```
|
||||
2. Install NPM packages
|
||||
|
||||
3. Enter your API in `config.js`
|
||||
```js
|
||||
const API_KEY = 'ENTER YOUR API';
|
||||
```
|
||||
2. Replace /mnt/data/docker-epg/guides with the path on your host where you want to save your guide.xml.
|
||||
This MUST be the same folder on the host for both the EPG and Caddy containers
|
||||
|
||||
3. Replace /mnt/data/docker-epg/guides with the path on your host where you want to save your channels.xml file and make sure that your channels.xml file is located there and formatted as follows:
|
||||
```xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<channels>
|
||||
<channel site="arirang.com" lang="en" xmltv_id="ArirangTV.kr" site_id="CH_K">Arirang TV</channel>
|
||||
...
|
||||
</channels>
|
||||
```
|
||||
You can populate his file with the channels from this sites page https://github.com/iptv-org/epg/tree/master/sites
|
||||
|
||||
4. When you start the docker stack the EPG container will do a first run to pull your channels and guide information and then it will stay running according to the default Cron scedule "0 3 * * *"
|
||||
|
||||
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<channels>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="BabySharkTV.us" site_id="PlutoTV/us#60faffc3fbbc120007fc4376">Baby Shark TV</channel>
|
||||
<channel site="tvtv.us" lang="en" xmltv_id="NickelodeonEast.us" site_id="11006">Nickelodeon East</channel>
|
||||
<channel site="tvtv.us" lang="en" xmltv_id="NickJrEast.us" site_id="19211">Nick Jr East</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="DoraTV.us" site_id="PlutoTV/us#5d14fb6c84dd37df3b4290c5">Dora TV</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="ForeverKids.us" site_id="PlutoTV/us#56171fafada51f8004c4b40f">Forever Kids</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="GarfieldandFriends.us" site_id="PlutoTV/us#60faf9ddfcc1f200070a5932">Garfield and Friends</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="DoraTV.us" site_id="PlutoTV/us#5d14fb6c84dd37df3b4290c5">Dora TV</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="KartoonChannel.us" site_id="PlutoTV/us#60fb040d4795a6000762fe8f">Kartoon Channel!</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="KidsMovieClub.us" site_id="PlutoTV/us#5db0ad56edc89300090d2ebb">Kids Movie Club</channel>
|
||||
<channel site="i.mjh.nz" lang="en" xmltv_id="DogtheBountyHunter.us" site_id="PlutoTV/us#5bee1a7359ee03633e780238">Dog the Bounty Hunter</channel>
|
||||
<channel site="tvtv.us" lang="en" xmltv_id="ABCNewsLive.us" site_id="113380">ABC News Live</channel>
|
||||
</channels>
|
||||
Reference in New Issue
Block a user