-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
3 changed files
with
2,247 additions
and
19,086 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build EPG | ||
|
||
on: | ||
schedule: | ||
- cron: '0 */8 * * *' | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get current date | ||
id: date | ||
run: echo "RUN_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV | ||
|
||
- name: checkout repo content | ||
uses: actions/checkout@v3 | ||
|
||
- name: pull changes | ||
run: | | ||
git pull | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: execute py script | ||
run: python generate.py | ||
|
||
- name: commit files | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A | ||
git diff-index --quiet HEAD || (git commit -a -m "Updated EPG listings on $RUN_DATE" --allow-empty) | ||
- name: push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## About | ||
Provides a 48-hour XMLTV EPG for Rakuten UK's TV service. | ||
|
||
## Usage | ||
Grab the XMLTV file from this link and paste it into your favorite IPTV client: | ||
``` | ||
https://raw.githubusercontent.com/dp247/rakuten-uk-epg/master/epg.xml | ||
``` | ||
|
||
## Known issues | ||
- To-hour rounding can be a bit off, leading to small gaps |
Oops, something went wrong.