4gray d9cbb1ce87 refactor(player,epg): add MPV reuse, IPC commands, and EPG handlers
Introduce MPV process reuse and IPC control, and add basic EPG IPC
handlers.

- Add GET_CHANNEL_PROGRAMS and FETCH_EPG ipc handlers to epg.events.ts
  to expose fetching EPG data by channel or URLs.
- Rework player.events.ts:
  - Export proper bootstrap and add module-level mpvProcess and
    mpvSocketPath to track a reusable MPV instance.
  - Add sendMpvCommand helper to communicate with MPV via its IPC socket.
  - Implement OPEN_MPV_PLAYER handler that:
    - Reads MPV path and MPV_REUSE_INSTANCE setting from store.
    - Attempts to reuse an existing MPV process by sending loadfile
      command over the socket when reuse is enabled.
    - Falls back to spawning a new mpv process, creating a unique IPC
      socket path, and storing the process/socket when reuse is enabled.
    - Adds error and exit handlers to clear stored references.
  - Add necessary imports (ChildProcess, existsSync, createConnection).
  - Remove/comment unused import block for shared-interfaces and adapt
    existing code to the new flow.

Why:
- Enable reusing a single MPV instance to improve resource usage and
  provide faster playback switching.
- Add IPC endpoints for EPG to support frontend requests for program
  data.
2025-10-18 11:53:57 +02:00
2025-10-07 18:02:13 +02:00
2025-09-08 18:14:46 +02:00
2025-10-13 00:24:54 +02:00
2019-10-06 17:34:49 +02:00
2023-01-23 22:42:23 +01:00
2023-03-11 21:01:25 +01:00
2020-09-27 20:33:37 +02:00
2025-10-07 18:02:13 +02:00
2025-10-07 18:02:13 +02:00
2021-02-07 00:19:57 +01:00
2022-01-03 21:45:09 +01:00
2025-10-13 00:24:54 +02:00
2020-09-27 20:33:37 +02:00
2025-04-04 14:56:27 +02:00
2020-09-27 20:33:37 +02:00

IPTVnator - IPTV Player Application

IPTVnator icon

Release GitHub Workflow Status Releases Codecov Telegram Bluesky

Telegram channel for discussions

IPTVnator is a video player application that provides support for IPTV playlist playback (m3u, m3u8). The application allows users to import playlists using remote URLs or by uploading files from the local file system. Additionally, it supports EPG information in XMLTV format which can be provided via URL.

The application is a cross-platform, open-source project built with Electron Tauri and Angular.

⚠️ Note: IPTVnator does not provide any playlists or other digital content. The channels and pictures in the screenshots are for demonstration purposes only.

IPTVnator: Channels list, player and epg list

Features

  • M3u and M3u8 playlist support 📺
  • Xtream Code (XC) and Stalker portal (STB) support
  • External player support - MPV, VLC
  • Add playlists from the file system or remote URLs 📂
  • Automatic playlist updates on application startup
  • Channel search functionality 🔍
  • EPG support (TV Guide) with detailed information
  • TV archive/catchup/timeshift functionality
  • Group-based channel list
  • Favorite channels management
  • Global favorites aggregated from all playlists
  • HTML video player with HLS.js support or Video.js-based player
  • Internationalization with support for 16 languages:
    • Arabic
    • Moroccan arabic
    • English
    • Russian
    • German
    • Korean
    • Spanish
    • Chinese
    • Traditional chinese
    • French
    • Italian
    • Turkish
    • Japanese
    • Dutch
    • Belarusian
    • Polish
  • Custom "User Agent" header configuration for playlists
  • Light and Dark themes
  • Docker version available for self-hosting

Screenshots:

Welcome screen: Playlists overview Main player interface with channels sidebar and video player
Welcome screen: Playlists overview Sidebar with channel and video player
Welcome screen: Add playlist via file upload Welcome screen: Add playlist via URL
Welcome screen: Add playlist via file upload Welcome screen: Add playlist via URL
EPG Sidebar: TV guide on the right side General application settings
EPG: TV guide on the right side General app settings
Playlist settings
Playlist settings

Note: First version of the application which was developed as a PWA is available in an extra git branch.

Download

Download the latest version of the application for macOS, Windows, and Linux from the release page.

Alternatively, you can install the application using one of the following package managers:

Homebrew

$ brew install iptvnator

Snap

$ sudo snap install iptvnator

Arch

Also available as an Arch PKG, iptvnator-bin, in the AUR (using your favourite AUR-helper, .e.g. yay)

$ yay -S iptvnator-bin

Gentoo

You can install IPTVnator from the gentoo-zh overlay

sudo eselect repository enable gentoo-zh
sudo emerge --sync gentoo-zh
sudo emerge iptvnator-bin

Get it from the Snap Store

Buy Me A Coffee

How to Build and Develop

Requirements:

  • Node.js with npm
  • Rust (required for tauri)
  1. Clone this repository and install project dependencies:

    $ npm install
    
  2. Start the application:

    $ npm run tauri dev
    

This will open the Tauri version in a separate window, while the PWA version will be available at http://localhost:4200.

To run only the Angular app without Tauri, use:

$ npm run serve

Disclaimer

IPTVnator doesn't provide any playlists or other digital content.

All Contributors

Languages
TypeScript 81.4%
JavaScript 8.9%
HTML 3.3%
SCSS 2.8%
Astro 1.3%
Other 2.1%