this would be awsome
Build and Push Docker Images / build-and-push (push) Successful in 2m7s

This commit is contained in:
2026-02-10 23:53:59 +01:00
parent a71d52b426
commit c4fcc55a39
3 changed files with 95 additions and 8 deletions
+7 -4
View File
@@ -27,14 +27,17 @@ docker run -d --name iptv -p 8080:8080 \
self-hosted-iptv
```
3. In your IPTV client, add playlist URL: `http://<host>:8080/playlist.m3u`
3. In your IPTV client or **Plex DVR**, add playlist URL: `http://<host>:8080/playlist.m3u`
Each channel in the M3U points to a **continuous live stream** (`/live/<id>`): FFmpeg concatenates the channels randomized videos into one MPEG-TS stream and loops it, so Plex can tune and record like a normal TV channel.
## Endpoints
- `GET /` — simple web index with playlist link
- `GET /playlist.m3u` — master M3U (all channels)
- `GET /channel/<id>/playlist.m3u` — single channel M3U (randomized, no adjacent same show)
- `GET /stream?path=movies/...` or `path=series/...` — stream a video file
- `GET /playlist.m3u` — master M3U for Plex DVR (one live stream URL per channel)
- `GET /live/<channel_id>` — continuous MPEG-TS stream for that channel (for tuning/recording)
- `GET /channel/<id>/playlist.m3u` — single channel M3U (list of individual video URLs)
- `GET /stream?path=movies/...` or `path=series/...` — stream a single video file
## Shuffle behaviour