Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dp247 committed Feb 11, 2024
2 parents d249024 + 71af85e commit e2ea9fa
Show file tree
Hide file tree
Showing 3 changed files with 2,247 additions and 19,086 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/actions.yml
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
11 changes: 11 additions & 0 deletions README.md
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
Loading

0 comments on commit e2ea9fa

Please sign in to comment.