Skip to content

Commit

Permalink
Update playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 27, 2024
1 parent f22f95f commit 2d8b7f3
Show file tree
Hide file tree
Showing 27 changed files with 21,834 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/workflows/update-lists.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Scrape and Commit Playlists

on:
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:

jobs:
scrape-and-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'

- name: Run PHP script
run: |
php scrape_streamed_su.php || exit 1 # Fail the workflow if PHP script fails
- name: Squash and force push changes
if: success()
run: |
# Setting up git config
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
# Reset to the first commit
FIRST_COMMIT=$(git rev-list --max-parents=0 HEAD)
git reset --soft $FIRST_COMMIT
# Add all changes and create a single new commit
git add playlist.m3u8 vlc_playlist.m3u8 kodi_playlist.m3u8 tivimate_playlist.m3u8 epg.xml streamed_su.json
git commit -m "Update playlists" || echo "No changes to commit"
# Force push to the main branch
git push -f origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55 changes: 54 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,54 @@
# streamed-su-sports
# Sports IPTV Playlists

Easily add live sports streams to your IPTV application using the M3U playlists provided in this repository. There are four different playlist formats available, each tailored for specific applications or media players.

## Playlist Formats:

- **playlist.m3u8:**
A standard M3U playlist. If you're using this playlist, make sure your IPTV application allows the setting of a custom `Referer` header. The `Referer` must be set to `https://embedme.top/` in order to access the streams. Failure to set the `Referer` will result in a 403 error when attempting to stream.

**Playlist:** `https://tinyurl.com/su-m3u1`
**EPG URL:** `https://tinyurl.com/su-epg`
**Referer:** `https://embedme.top/`

- **tivimate_playlist.m3u8:**
This playlist is specifically formatted for use with TiviMate. To use it, simply load the URL provided in this repository into Tivimate as an "M3U Playlist." No additional setup is needed as Tivimate handles the required headers for playback.

**Playlist:** `https://tinyurl.com/su-m3u2`
**EPG URL:** `https://tinyurl.com/su-epg`
**Referer:** `Included`

- **kodi_playlist.m3u8:**
This playlist is designed for Kodi, utilizing `#KODIPROP` properties to handle the necessary stream settings, including the `Referer` header. It is optimized for Kodi's PVR IPTV Simple Client, ensuring compatibility with your Kodi setup. This format is primarily designed for Kodi, but it may or may not be compatible with other applications.

**Playlist:** `https://tinyurl.com/su-m3u3`
**EPG URL:** `https://tinyurl.com/su-epg`
**Referer:** `Included`

- **vlc_playlist.m3u8:**
Optimized for VLC Media Player. This playlist uses VLC-specific formatting to ensure streams play correctly, including setting the necessary `http-referrer` via `#EXTVLCOPT`. This format is primarily designed for VLC, but it may or may not be compatible with other applications.

**Playlist:** `https://tinyurl.com/su-m3u4`
**EPG URL:** `https://tinyurl.com/su-epg`
**Referer:** `Included`

If none of these playlists work with your IPTV application, you can try using the [streamed-su-sports-proxy](https://github.com/dtankdempse/streamed-su-sports/blob/main/streamed-su-sports-proxy/README.md). This proxy acts as a middle layer to help resolve potential issues with playing the playlists, especially if your IPTV app doesn't support setting a referer header.

## Usage Instructions:

1. Choose the playlist format that suits your application or media player.
2. Add the playlist URL to your IPTV application.
3. Ensure that your application supports the required settings, such as setting the `Referer` header for streams to play.

## Playlist and EPG Syncing:

The playlist and EPG data are updated every 4 hours. Since streaming data can change frequently, it’s recommended to sync the refresh of both your playlist and guide information simultaneously in your IPTV application. If you notice 'No information' being displayed in the guide, try manually refreshing the EPG within your application to ensure the most up-to-date data is loaded.

## Sports:

Basketball, Football, American Football, Hockey, Baseball, Motor Sports, Fight (UFC, Boxing), Tennis, Rugby, Golf, Billiards, AFL, Darts, Cricket, Other

## Disclaimer:

This repository has no control over the streams, links, or the legality of the content provided by [Streamed.su](http://href.li/?https://streamed.su/). It is the end user's responsibility to ensure the legal use of these streams, and we strongly recommend verifying that the content complies with the laws and regulations of your country before use.

Loading

0 comments on commit 2d8b7f3

Please sign in to comment.