1.1 KiB
1.1 KiB
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 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
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
As this script uses his thetvappstream script.
As they provide the channel streams.