IPTVTools Filter

iptvtools-cli filter

Filter m3u playlists.

iptvtools-cli filter [OPTIONS]

Options

--channel-exclude <channel_exclude>

Channels to exclude with regex. Note: Blacklist has higher priority than whitelist.

--channel-include <channel_include>

Channels to include with regex. Note: Only channels in the whitelist will be included if set.

--group-exclude <group_exclude>

Groups to exclude with regex.Note: Blacklist has higher priority than whitelist.

--group-include <group_include>

Groups to include with regex.Note: Only groups in the whitelist will be included if set.

--max-height <max_height>

Maximum height/resolution to accept, -1 means no resolution filtering.

--min-height <min_height>

Minimum height/resolution to accept, 0 means no resolution filtering.

-c, --config <config>

Configuration file to unify title and id.

-i, --inputs <inputs>

One or more input m3u playlist files/urls.

-I, --interval <interval>

Interval in seconds between successive fetching requests.

-L, --log-level <log_level>

Log level.

-n, --skip-connectivity-check

Skip connectivity check.

-o, --output <output>

Output file name.

-r, --replace-group-by-source

Flag to replace the group title with the source name, where the source name is the basename of input files/urls without extension.

-R, --resolution-on-title

Flag to append resolution such as 8K, 4K, 1080p, 720p to the title.

-s, --sort-keys <sort_keys>

List of keys to sort the channels. Valid options currently supported are group-title, tvg-id, template-order, height and title.

-t, --templates <templates>

Template m3u files/urls with well-maintained channel information to replace the matched entries.

-T, --timeout <timeout>

Timeout threshold for fetching request.

-u, --udpxy <udpxy>

UDP Proxy for certain IPTV channels.