Skip to main content

Terminal UI for IPTV with EPG browsing

Project description

tvTUI

tvTUI logo

tvTUI is a fast terminal UI for browsing IPTV channels with EPG (now/next) information, favorites, categories, and quick search.

Features

  • Search-as-you-type channel list with category tags.
  • EPG preview with now/next details and descriptions.
  • Favorites and history.
  • Mouse support (scroll, click, double-click).
  • Configurable player and subtitle defaults.

Install (pipx)

pipx install .

For a published package:

pipx install tvtui

Run

tvtui
tvtui -f
tvtui --categories

Keybindings

  • Enter play selected channel
  • f toggle favorites view
  • F add/remove favorite
  • c categories
  • s sort (default/name/category)
  • r refresh channels/EPG
  • / search mode
  • Left/Right cycle description
  • t subtitles on/off (next playback)
  • h toggle help panel
  • q quit

Mouse:

  • Wheel scroll
  • Click select
  • Double-click play

Configuration

Config file defaults to ~/.config/tvtui/config.json.

{
  "epg_url": "https://raw.githubusercontent.com/doms9/iptv/refs/heads/default/EPG/TV.xml",
  "source_url": "https://s.id/d9Base",
  "streamed_base": "https://raw.githubusercontent.com/doms9/iptv/default/M3U8",
  "show_help_panel": true,
  "use_emoji_tags": false,
  "player": "auto",
  "player_args": ["--ontop"],
  "custom_command": ["myplayer", "--flag"],
  "custom_subs_on_args": ["--subs=on"],
  "custom_subs_off_args": ["--subs=off"],
  "mpv_subs_on_args": ["--sub-visibility=yes", "--sid=auto"],
  "mpv_subs_off_args": ["--sub-visibility=no", "--sid=no"],
  "vlc_sub_track": 1,
  "subs_enabled_default": false
}

Requirements

  • Python 3.9+
  • mpv or vlc for playback

Disclaimer

The default channel and EPG sources are provided for inspiration and testing. tvTUI is not affiliated with, endorsed by, or sponsored by those sources or their authors.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvtui-1.0.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tvtui-1.0.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file tvtui-1.0.0.tar.gz.

File metadata

  • Download URL: tvtui-1.0.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tvtui-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d575897514dc123323930b9fe7c24fe3ba0032dcf27e45962b160ca2b6343e7a
MD5 88afe3d828b77b79701aa27b3924cbba
BLAKE2b-256 2aa828d85fc152749c84c2bd4e95ed4c364cabccff11dec0aa1ddb58e8c08011

See more details on using hashes here.

File details

Details for the file tvtui-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tvtui-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tvtui-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79e35fb78e9206776aa40322d74fe437a8e7656760fd3fbb88ef087b83e89dee
MD5 7bf4ed8d244f09ae813e97abc199601d
BLAKE2b-256 3ba0e84b04942cc25db177091b8c95eee4a36171977fdbf77cb4c35ea1f52c6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page