chuiziyao

wushuang-iptv

WushuangIPTV is a single-file portable Windows tool (Python 3.10+) for capturing and verifying your own IPTV multicast sources: wiring wizard, pktmon capture (no Wireshark), native MPEG-TS parsing (no ffmpeg), a national reference library of 31 provinces x 4 carriers, udp + http dual-format M3U, NAS push (SMB / WebDAV); v2.1 adds a CLI mode callable by AI tools, MIT.

v2.2.1
Published at
6d ago
204
Stars
2,936
Download
Synced at
8h ago

Latest release

v2.2.1Nov 20, 2026, 02:25 PM
Downloads slow? Switch the source anytime above

README

Project Overview

When you want to retire the set-top box and move IPTV multicast to TVs, phones and tablets, WushuangIPTV chains capture, verification, M3U generation and NAS push into one pipeline. The Windows build is a single-file portable EXE — double-click, no drivers or runtimes; v2.1 adds a CLI mode (JSON output + exit codes, callable directly by AI tools like Claude Code / Cursor) and 4K high-DPI scaling.

Item Value
Platform Windows 10 1809+ (stable); Linux / macOS / HarmonyOS PC (v2.1.0-beta)
Language Python 3.10+ (zero third-party core deps), PyInstaller packaging
Capture built-in pktmon on Windows / POSIX tcpdump, no Wireshark needed
License MIT

It captures as you channel-surf, verifies what actually plays, and pushes the M3U straight to your NAS.

Key Features

  • Wiring wizard: three scenarios (dumb switch / router IPTV port with VLAN binding / bridged network) with auto-generated plug steps and topology diagrams; a dedicated guide covers China Mobile's "blind 4-port" case
  • Capture analysis: discovers multicast addresses automatically as you switch channels on the box, dedupes and filters noise
  • Channel verification: native IGMP join + MPEG-TS parsing (PAT / PMT / SDT / SPS) without ffmpeg, reporting codec / resolution / availability
  • National reference library: 31 provinces x Telecom / Unicom / Mobile / Broadcasting, online update or offline import
  • M3U generation: dual format — udp:// multicast direct + http:// udpxy forwarding
  • NAS push: SMB shares / WebDAV, pairing with Tvheadend for 7x24 relaying
  • Relay service: built-in udpxy-equivalent server converting multicast to HTTP unicast
  • CLI mode: WushuangIPTV-CLI.exe info / verify / m3u etc., JSON on stdout, JSONL progress on stderr, exit codes 0 ok / 1 fail / 2 bad args / 3 admin required

Quick Start

  1. Run WushuangIPTV.exe from Releases (auto-requests admin)
  2. Wire per the wizard → capture while channel-surfing → verify channels → generate M3U (optionally push to NAS)
  3. Play with VLC / Kodi / DIYP or the bundled WushuangTV.apk (~1.6 MB, works on Android 4.0+)

CLI usage

WushuangIPTV-CLI.exe info
WushuangIPTV-CLI.exe verify --province 浙江 --carrier 电信 --out verified.json
WushuangIPTV-CLI.exe m3u --channels verified.json --outdir D:/iptv

Only capture needs admin; every other command runs unprivileged.

System Requirements

Item Requirement
Windows 10 1809+ / 11; capture needs admin
Linux / macOS Python 3.10+ + tcpdump (beta; WSL2 cannot receive LAN multicast)
HarmonyOS PC HarmonyOS NEXT, open harmony/ in DevEco (no capture permission, reduced feature set)

Notes

  • Home LAN only: receives IPTV content you already pay for — do not share captured sources publicly or serve them over the internet
  • Data not bundled: the national reference library comes from the community repo CHINA-IPTV, downloaded on demand or imported offline; candidates are only as good as your local verification
  • Cross-platform is beta: Linux / macOS / HarmonyOS builds lack real-device validation — use the Windows stable build in production

Release history

Sort