Instructions
To create your IPTV playlist, you must make a manual GET request. Use the following base URL:
Required Parameters
- address: Your IPTV portal address (e.g.,
http://example.com
) - mac: Your MAC address (e.g.,
AA:BB:CC:DD:EE:FF
)
Optional Parameters
- filter:key=value: Includes channels only if
value
is found in the specifiedkey
.
?filter:name=PL
- Only channels where "PL" is part of the name will be included. - filter:!key=value: Excludes channels if
value
is found in the specifiedkey
.
?filter:!name=HD
- Channels containing "HD" in their name will be excluded. - replace:key:from=to: Replaces the specified
from
withto
in thekey
of the channel (e.g. name).
?replace:name:oldName=newName
- Replaces instances of "oldName" with "newName" in the channel name.
Example Usage
Here's an example of a complete URL with parameters:
The following url:
https://tv.sador.me/playlist?address=http://example.com&mac=AA:BB:CC:DD:EE:FF&filter:name=live&filter:!name=XXX&replace:name:oldName=newName
performs the following actions:
- address=http://example.com: Specifies the IPTV portal address from which channels will be fetched.
- mac=AA:BB:CC:DD:EE:FF: Provides the MAC address used for authentication with the IPTV service.
- filter:name=live: Includes only channels that contain "live" in their name. This means that channels marked as live will be shown in the resulting playlist.
- filter:!name=XXX: Excludes any channels that contain "XXX" in their name. Therefore, any channels that might be marked with XXX will not be included, ensuring that +18 channels are not presented.
- replace:name:oldName=newName: Replaces occurrences of "oldName" with "newName" in the channel listings. This allows for renaming channels dynamically in the output.