Handled a particular error.

This commit is contained in:
2024-12-29 21:48:24 +02:00
parent 09b3c8c9eb
commit 1a02d0efd6
2 changed files with 207 additions and 130 deletions

View File

@@ -1,16 +1,14 @@
# 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.
A small script to offer a channel selection menu through fuzzel and pass the streaming links to 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.
It performs requests to epg.pw to retrieve the data.
## Installation
```sh
git clone https://git.konsthol.eu/konsthol/TheTvApp_Menu
cd TheTvApp_Menu
git clone https://git.konsthol.eu/konsthol/MPVTV
cd MPVTV
sudo cp tv.sh /usr/bin/
(Or cp tv.sh anywhere in your $PATH)
```
@@ -24,21 +22,16 @@ Simply run `tv.sh stream` or `tv.sh schedule` or even better assign those two fu
* git
* curl
* sed
* tofi (or dmenu if you change the code)
* awk
* fuzzel (or dmenu if you change the code)
* mpv
* grep
* npm
* node
* pup
* jq
* cut
* notify-send (Optional)
## Credits go to
* [habitual69](https://github.com/habitual69)
* [EPG](https://epg.pw/)
As this script uses his [thetvappstream](https://github.com/habitual69/thetvappstream) script.
* [THETVAPP](https://thetvapp.to/)
As they provide the channel streams.
As they provide the data.