This commit is contained in:
@@ -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 channel’s 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user