45 lines
1.1 KiB
Markdown
45 lines
1.1 KiB
Markdown
# tv.sh
|
|
|
|
A small script to offer a selection menu of channels in thetvapp.to using tofi (or dmenu etc if you change the code) and start playing in mpv.
|
|
|
|
Intended for those who like the selection but don't necessarily want to add the m3u file to a program like vlc.
|
|
|
|
It clones the repo [thetvappstream](https://github.com/habitual69/thetvappstream) which actually does everything for this to be useful. Meaning this is the program that actually provides the channels and the script is just a menu to select them.
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
git clone https://git.konsthol.eu/konsthol/TheTvApp_Menu
|
|
cd TheTvApp_Menu
|
|
sudo cp tv.sh /usr/bin/
|
|
(Or cp tv.sh anywhere in your $PATH)
|
|
```
|
|
|
|
## Usage
|
|
|
|
Simply run `tv.sh stream` or `tv.sh schedule` or even better assign those two functions to run with a keybinding.
|
|
|
|
## Dependencies
|
|
|
|
* git
|
|
* curl
|
|
* sed
|
|
* tofi (or dmenu if you change the code)
|
|
* mpv
|
|
* grep
|
|
* npm
|
|
* node
|
|
* pup
|
|
* jq
|
|
* notify-send (Optional)
|
|
|
|
## Credits go to
|
|
|
|
* [habitual69](https://github.com/habitual69)
|
|
|
|
As this script uses his [thetvappstream](https://github.com/habitual69/thetvappstream) script.
|
|
|
|
* [THETVAPP](https://thetvapp.to/)
|
|
|
|
As they provide the channel streams.
|