tvtui 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tvtui-2.0.0.dist-info/METADATA +121 -0
- tvtui-2.0.0.dist-info/RECORD +6 -0
- tvtui-2.0.0.dist-info/WHEEL +5 -0
- tvtui-2.0.0.dist-info/entry_points.txt +2 -0
- tvtui-2.0.0.dist-info/top_level.txt +1 -0
- tvtui.py +1687 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tvtui
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: Terminal UI for IPTV with EPG browsing
|
|
5
|
+
Author: tvTUI Contributors
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: tui,iptv,epg,terminal
|
|
8
|
+
Classifier: Environment :: Console
|
|
9
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Topic :: Multimedia :: Video
|
|
14
|
+
Classifier: Topic :: Utilities
|
|
15
|
+
Requires-Python: >=3.9
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# tvTUI
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
tvTUI is a fast terminal UI for browsing IPTV channels with EPG (now/next)
|
|
23
|
+
information, favorites, categories, and quick search.
|
|
24
|
+
|
|
25
|
+
## Features
|
|
26
|
+
|
|
27
|
+
- Search-as-you-type channel list with category tags.
|
|
28
|
+
- EPG preview with now/next details and descriptions.
|
|
29
|
+
- Favorites and history.
|
|
30
|
+
- Mouse support (scroll, click, double-click).
|
|
31
|
+
- Configurable player and subtitle defaults.
|
|
32
|
+
|
|
33
|
+
## Install (pipx)
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pipx install .
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
For a published package:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pipx install tvtui
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Run
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
tvtui
|
|
49
|
+
tvtui -f
|
|
50
|
+
tvtui --categories
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Keybindings
|
|
54
|
+
|
|
55
|
+
- `Enter` play selected channel
|
|
56
|
+
- `f` toggle favorites view
|
|
57
|
+
- `F` add/remove favorite
|
|
58
|
+
- `c` categories
|
|
59
|
+
- `m` content mode (tv/movie/series)
|
|
60
|
+
- `s` sort (default/name/category)
|
|
61
|
+
- `r` refresh channels/EPG
|
|
62
|
+
- `/` search mode
|
|
63
|
+
- `Left`/`Right` cycle description
|
|
64
|
+
- `t` subtitles on/off (next playback)
|
|
65
|
+
- `h` toggle help panel
|
|
66
|
+
- `q` quit
|
|
67
|
+
|
|
68
|
+
Mouse:
|
|
69
|
+
|
|
70
|
+
- Wheel scroll
|
|
71
|
+
- Click select
|
|
72
|
+
- Double-click play
|
|
73
|
+
|
|
74
|
+
## Configuration
|
|
75
|
+
|
|
76
|
+
Config file defaults to `~/.config/tvtui/config.json`.
|
|
77
|
+
|
|
78
|
+
```json
|
|
79
|
+
{
|
|
80
|
+
"epg_url": "https://raw.githubusercontent.com/doms9/iptv/refs/heads/default/EPG/TV.xml",
|
|
81
|
+
"source_url": "https://s.id/d9Base",
|
|
82
|
+
"streamed_base": "https://raw.githubusercontent.com/doms9/iptv/default/M3U8",
|
|
83
|
+
"show_help_panel": true,
|
|
84
|
+
"use_emoji_tags": false,
|
|
85
|
+
"player": "auto",
|
|
86
|
+
"player_args": ["--ontop"],
|
|
87
|
+
"custom_command": ["myplayer", "--flag"],
|
|
88
|
+
"custom_subs_on_args": ["--subs=on"],
|
|
89
|
+
"custom_subs_off_args": ["--subs=off"],
|
|
90
|
+
"mpv_subs_on_args": ["--sub-visibility=yes", "--sid=auto"],
|
|
91
|
+
"mpv_subs_off_args": ["--sub-visibility=no", "--sid=no"],
|
|
92
|
+
"vlc_sub_track": 1,
|
|
93
|
+
"subs_enabled_default": false,
|
|
94
|
+
"xtream_base_url": "http://xtreamcode.ex:8080",
|
|
95
|
+
"xtream_username": "Mike",
|
|
96
|
+
"xtream_password": "1234",
|
|
97
|
+
"xtream_use_for_tv": true
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Xtream API
|
|
102
|
+
|
|
103
|
+
If `xtream_base_url`, `xtream_username`, and `xtream_password` are set, use `m`
|
|
104
|
+
to toggle content mode between live TV, movies, and series. The TV mode uses
|
|
105
|
+
Xtream live streams when `xtream_use_for_tv` is true; otherwise it falls back
|
|
106
|
+
to the M3U source.
|
|
107
|
+
|
|
108
|
+
## Requirements
|
|
109
|
+
|
|
110
|
+
- Python 3.9+
|
|
111
|
+
- `mpv` or `vlc` for playback
|
|
112
|
+
|
|
113
|
+
## Disclaimer
|
|
114
|
+
|
|
115
|
+
The default channel and EPG sources are provided for inspiration and testing.
|
|
116
|
+
tvTUI is not affiliated with, endorsed by, or sponsored by those sources or
|
|
117
|
+
their authors.
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
|
|
121
|
+
MIT. See `LICENSE`.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
tvtui.py,sha256=4MIUCNGAEOFSaEXTU3MU3ebVF9owcaYbnUGkinSNaB8,64017
|
|
2
|
+
tvtui-2.0.0.dist-info/METADATA,sha256=W9ZV93Co5Gn2xUz4eLhkOnFgJ-ynAkMSPOuJ1sAFYT0,2968
|
|
3
|
+
tvtui-2.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
+
tvtui-2.0.0.dist-info/entry_points.txt,sha256=uWcA150Tw477oaPafEZrBfZ70cdJHU8uJ6HsDvjIsUI,37
|
|
5
|
+
tvtui-2.0.0.dist-info/top_level.txt,sha256=8BTkoYlwgstSOyqUe-X72_X5N9cK6tFChgwJyi5Tbpw,6
|
|
6
|
+
tvtui-2.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tvtui
|