Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ahmed-Zamouche/pytermv
A terminal iptv player written in python
https://github.com/Ahmed-Zamouche/pytermv
Last synced: about 2 months ago
JSON representation
A terminal iptv player written in python
- Host: GitHub
- URL: https://github.com/Ahmed-Zamouche/pytermv
- Owner: Ahmed-Zamouche
- License: gpl-3.0
- Created: 2023-01-29T18:49:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T23:33:06.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T14:06:18.182Z (5 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-iptv - pytermv - A terminal IPTV player written in python. (Apps)
README
# pytermv
A terminal iptv player written in python
`pytermv` is a small python script that allows you to select an iptv stream using `fzf` and play it using `mpv`.
The list of channels is obtained from [https://iptv-org.github.io/](https://iptv-org.github.io/).
## Dependencies
- [`mpv`](https://mpv.io)
- [`fzf`](https://github.com/junegunn/fzf)
- [`pyfzf`](https://github.com/nk412/pyfzf)
- `git` (optional, for installation by cloning the repository)
- [`python 3`](https://www.python.org/downloads)
- `xdo` (optional, for `-s` flag)## Usage
```console
usage: pytermv [-h] [-c CACHE_DIR] [-f] [-s] [-u]What the program does
optional arguments:
-h, --help show this help message and exit
-c CACHE_DIR, --cache-dir CACHE_DIR
path to cache directory
-f, --full_screen run in full-screen mode
-s, --term_swallow hide controlling terminal while playing
-u, --update update the channels databaseText at the bottom of help
```## Installation
### Using installer
```sh
curl -sLf https://raw.githubusercontent.com/Ahmed-Zamouche/pytermv/main/install.sh | bash -s -- -install```
### Cloning the repository
```sh
git clone https://github.com/Ahmed-Zamouche/pytermv.git "$HOME"/.pytermv
echo "PATH=\"\$HOME/.pytermv:\$PATH\"" >> "$HOME"/.bashrc
source "$HOME"/.bashrc
```## Uninstallation
### Using installer
```sh
curl -sLf https://raw.githubusercontent.com/Ahmed-Zamouche/pytermv/main/install.sh | bash -s -- --uinstall```
### Manualy
```sh
rm -rf "$HOME"/.pytermv
sed -i '/pytermv/d' "$HOME"/.bashrc
```## Credits
A big thank you to all the [`contributors`](https://github.com/Ahmed-Zamouche/pytermv/graphs/contributors)
Thanks to [`termv`](https://github.com/Roshan-R/termv) for player