tvTUI
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
Enterplay selected channelftoggle favorites viewFadd/remove favoriteccategoriesmcontent mode (tv/movie/series)vtv source (m3u/xtream/both)ssort (default/name/category)rrefresh channels/EPG/search modeLeft/Rightcycle descriptiontsubtitles on/off (next playback)htoggle help panelqquit
Mouse:
- Wheel scroll
- Click select
- Double-click play
Configuration
Config file defaults to ~/.config/tvtui/config.json.
{
"epg_url_m3u": "https://raw.githubusercontent.com/doms9/iptv/refs/heads/default/EPG/TV.xml",
"epg_url_xtream": "http://xtreamcode.ex/xmltv.php?username=Mike&password=1234",
"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,
"xtream_base_url": "http://xtreamcode.ex:8080",
"xtream_username": "Mike",
"xtream_password": "1234",
"xtream_use_for_tv": true,
"tv_source_mode": "both",
"epg_fuzzy_match": true,
"epg_fuzzy_threshold": 0.85
}
Xtream API
If xtream_base_url, xtream_username, and xtream_password are set, use m
to toggle content mode between live TV, movies, and series. Use v to toggle
the TV source between m3u, xtream, and both. When tv_source_mode is
both, channels are tagged with [M3U] or [XT] in the list.
Requirements
- Python 3.9+
mpvorvlcfor 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.
Metadata
Release files for tvtui 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tvtui-2.1.0.tar.gz | 2.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tvtui-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / tvtui-2.1.0.tar.gz
| Download URL | tvtui-2.1.0.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfd457d674d5ed4e4b845208df9ff3a071aae89ed61912eaf000f6db68ec4898
|
|
BLAKE2b-256 checksum How to use checksums |
d3ec854b631712e2329a7e77346b58a334b7a5161741e73bd00da550b2646f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / tvtui-2.1.0-py3-none-any.whl
| Download URL | tvtui-2.1.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fe16dd33a505d1a54360e0d15e14a2276b527aca39a994e1159ad05b7e56f9a
|
|
BLAKE2b-256 checksum How to use checksums |
3664b90eed965a463f3319e8066f575d56ccd0de2e144bf6ee8929240491993c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|