iptvtools

huxuanMIT活跃维护

一套 Python 脚本,用来整理和优化 IPTV 播放体验,处理 m3u 播放列表等日常维护工作。

A set of scripts that help to better the IPTV experience.

v0.3.1发布于 2025-01-31 13:47 UTC242star50fork同步于 2026-11-10 18:04 UTC

怎么上手

由 README 提炼,执行前请确认
pipx install iptvtools
硬件要求按 README 说明

README 未说明;仅需能运行 Python 的环境,按流信息过滤时需额外安装 ffmpeg/ffprobe

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一套轻量 Python 脚本,用来合并、检测并过滤 IPTV 频道列表,让播放体验更干净

一套 Python 脚本,用来整理和优化 IPTV 播放体验,处理 m3u 播放列表等日常维护工作。

核心能力

  • 合并来自不同来源的 IPTV 资源
  • 检测频道的 tcp/udp 连通性
  • 按分辨率等自定义条件过滤频道
  • 用模板和 EPG 匹配频道信息
  • 可选通过 UDPxy 格式化播放地址

容易踩的坑

按分辨率等流信息过滤前需自行安装 ffmpeg(ffprobe),否则该功能不可用;项目处于 Beta 阶段,接口和行为可能不稳定;README 未给出具体用法,需查阅在线文档和 wiki

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.3.1
  1. v0.3.1最新正式版2025-01-31 · 2025-01-31 13:47 UTC

    0.3.1 (2025-01-31)

    Chores

    • patch-release: update template to (#38) (39781de)
  2. v0.3.02025-01-31 · 2025-01-31 11:31 UTC
    查看更新说明

    0.3.0 (2025-01-31)

    Features

    • integrate with serious-scaffold-python (#37) (647ae6a)
  3. v0.2.122024-10-27 · 2024-10-27 00:45 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/huxuan/iptvtools/compare/v0.2.11...v0.2.12

  4. v0.2.11Fix warning in docs.2023-08-28 · 2023-08-28 02:55 UTC
    查看更新说明
  5. v0.2.10More robust tvg-id.2022-09-04 · 2022-09-04 13:25 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    IPTVTools

    A set of scripts that help to better IPTV experience.

    CI CommitLint DevContainer Release Renovate Semantic Release Coverage Release PyPI PyPI - Python Version GitHub

    pdm-managed pre-commit Checked with mypy Ruff Conventional Commits Pydantic v2 Copier Serious Scaffold Python Open in Dev Containers

    [!IMPORTANT] IPTVTools is in the Beta phase. Changes and potential instability should be anticipated. Any feedback, comments, suggestions and contributions are welcome!

    Features

    Scripts currently provided:

    • iptvtools-cli filter
      • Merge from different resources.
      • Check the tcp/udp connectivity.
      • Filter by custom criteria, e.g. resolution.
      • Match with templates and EPG.
      • Format the url with UDPxy if provided.
      • Unify channels' titles.

    Features planned on the road:

    • Scan certain ip and port range to find new channels.
    • Establish a lightweight database for routine maintenance.

    Besides, all scripts should be lightweight and able to keep running regularly after proper configuration.

    Last but not least, any ideas, comments and suggestions are welcome!

    Prerequisites

    To filter by stream information, e.g., resolution/height, ffmpeg (or ffprobe more precisely) is needed, please install according to the documentation.

    Installation

    It is recommended to manage iptvtools via pipx:

    pipx install iptvtools
    

    Usage

    Please refer to the documentation while some useful information in wiki.

    📜 License

    MIT License, for more details, see the LICENSE file.