davidchiu66

IPTV_Ultimate_Player_Codex

davidchiu66

IPTV Ultimate Player is a Windows desktop IPTV and local media player built on PySide6 and libmpv for managing live sources, EPG guides, and local media in one app.

v0.1.21-dev
Published at
Aug 7, 2026
36
Stars
438
Download
Synced at
5d ago

Latest release

v0.1.21-devAug 7, 2026, 11:35 AM
Downloads slow? Switch the source anytime above

README

Project Overview

IPTV Ultimate Player is the desktop equivalent of merging an IPTV playlist manager with a local media player, except that it uses libmpv as the playback core and drives a controlled browser to resolve pages that only expose a real stream URL after a play click. It runs on 64-bit Windows 10/11, with a hand-written PySide6 QWidget interface that does not rely on QML. Channel files, EPG data, favourites, and play albums live in the user data directory, so reinstalling does not overwrite them.

Item Value
Platform Windows 10/11 64-bit
Stack Python 3.12 + PySide6 6.7 + libmpv
Channel formats M3U, M3U8, TXT, JSON, CFG
Latest version v0.1.21-dev
License GPL-3.0-or-later

One window that covers live sources, local library, EPG, and browser sniffing.

Key Features

  • Dual-mode library: live channels and local video, audio, GIF, and images share one library, so no app switching is needed
  • Multi-format playlists: imports M3U, M3U8, TXT, JSON, and CFG, and the TXT parser skips parameter lines such as ua=...
  • Live protocol coverage: handles HLS/M3U8, DASH/MPD, FLV, and TS streams
  • Browser-assisted resolution: captures the real HLS URL, Referer, and User-Agent for page-based sources, then falls back to an iframe embed
  • EPG guide: discovers URLs from x-tvg-url, tvg-url, and url-tvg, loads .xml and .xml.gz, and indexes them in SQLite
  • Play albums: builds albums from folders, with pin, move up, move down, and send to bottom ordering that persists
  • Intro and outro skipping: per-album durations for opening and ending segments, applied during autoplay
  • Custom shortcuts: rebindable seek 10/60 seconds, speed, volume, and first/last jumps with conflict detection

Interface and Controls

  • Three panel triggers: edge hover, Ctrl plus mouse to reveal arrows, or drag inward from the edge
  • Left and right zones: channels and groups on the left during live playback, the resource library otherwise; EPG on the right while playing, playlist when stopped
  • Glassmorphism theme: theme tokens live in ui/theme.py, and interface opacity defaults to 0.25
  • Mouse extras: wheel volume steps of 5, front side button seeks forward 10 seconds, rear button seeks back 10 seconds
  • EPG positioning: the guide scrolls to the current programme, or to the first upcoming one when nothing is airing

Target Audience

  • Users running their own live source lists
  • Sports and news viewers who rely on a programme guide
  • People organising a local media library
  • Developers studying PySide6 with libmpv
  • Windows users replacing several separate tools with one client

Quick Start

  1. Install Python 3.12 and create an activated virtual environment in the project folder
  2. Run pip install -r requirements.txt, which pulls PySide6>=6.7 and requests>=2.31
  3. Place libmpv-2.dll in plugins/Mpv/, where the playback core is loaded from
  4. Start with python main.py, or double-click start.bat
  5. Import a channel file from the left panel and confirm the EPG download prompt
  6. Open the Shortcuts tab under Application Settings, record keys, and save for immediate effect

System Requirements

Item Requirement
OS Windows 10/11 64-bit
Runtime Python 3.12 or newer
UI toolkit PySide6 6.7 or newer
Playback core libmpv via libmpv-2.dll
Data directory %LocalAppData%/IPTV_Ultimate_Player_Codex

Notes

  • No Windows 7 support: the stack depends on Qt6, Qt WebEngine, and a modern libmpv runtime
  • Sniffing has limits: only browser-reachable pages can be resolved, and CENC-encrypted content still fails
  • Separate data folders: channels, EPG, config, and logs sit under Channels/, EPGs/, config/, and logs/, and the installer never writes to Program Files
  • Sources expire: some channels rely on regional networks and short-lived tokens, so re-resolution is needed later

Release history

Sort