mirror of
https://github.com/ovosimpatico/xtream2m3u.git
synced 2026-01-15 16:32:55 -03:00
Add wanted_groups
This commit is contained in:
16
README.md
16
README.md
@@ -40,7 +40,7 @@ Many IPTV providers use the Xtream API, which isn't directly compatible with med
|
||||
|
||||
1. Connecting to Xtream API-based IPTV services
|
||||
2. Fetching the list of available live streams
|
||||
3. Allowing users to filter out unwanted channel groups
|
||||
3. Allowing users to filter channels by including only wanted groups or excluding unwanted groups
|
||||
4. Generating a standard M3U playlist that's compatible with a wide range of media players
|
||||
|
||||
## Prerequisites
|
||||
@@ -109,6 +109,7 @@ GET /m3u
|
||||
- `username` (required): Your IPTV service username
|
||||
- `password` (required): Your IPTV service password
|
||||
- `unwanted_groups` (optional): A comma-separated list of group names to exclude
|
||||
- `wanted_groups` (optional): A comma-separated list of group names to include (takes precedence over unwanted_groups)
|
||||
- `nostreamproxy` (optional): Set to 'true' to disable stream proxying
|
||||
|
||||
##### Example Request
|
||||
@@ -117,6 +118,12 @@ GET /m3u
|
||||
http://localhost:5000/m3u?url=http://your-iptv-service.com&username=your_username&password=your_password&unwanted_groups=news,sports
|
||||
```
|
||||
|
||||
Or to only include specific groups:
|
||||
|
||||
```
|
||||
http://localhost:5000/m3u?url=http://your-iptv-service.com&username=your_username&password=your_password&wanted_groups=movies,series
|
||||
```
|
||||
|
||||
#### XMLTV Guide Generation
|
||||
|
||||
```
|
||||
@@ -129,6 +136,7 @@ GET /xmltv
|
||||
- `username` (required): Your IPTV service username
|
||||
- `password` (required): Your IPTV service password
|
||||
- `unwanted_groups` (optional): A comma-separated list of group names to exclude
|
||||
- `wanted_groups` (optional): A comma-separated list of group names to include (takes precedence over unwanted_groups)
|
||||
|
||||
##### Example Request
|
||||
|
||||
@@ -136,6 +144,12 @@ GET /xmltv
|
||||
http://localhost:5000/xmltv?url=http://your-iptv-service.com&username=your_username&password=your_password&unwanted_groups=news,sports
|
||||
```
|
||||
|
||||
Or to only include specific groups:
|
||||
|
||||
```
|
||||
http://localhost:5000/xmltv?url=http://your-iptv-service.com&username=your_username&password=your_password&wanted_groups=movies,series
|
||||
```
|
||||
|
||||
#### Image Proxy
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user