doh.
This commit is contained in:
50
README.md
Normal file
50
README.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# tv.sh
|
||||
|
||||
A small script to offer a selection menu of channels in ustvgo.tv using rofi (or dmenu 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.
|
||||
|
||||
You should first go get [ustvgo_to_m3u](https://github.com/benmoose39/ustvgo_to_m3u) which actually does everything for this to be useful and then change the path to the ustvgo.m3u file in the script
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
git clone https://git.konsthol.eu/konsthol/UsTvGo_Menu
|
||||
cd UsTvGo_Menu
|
||||
sudo cp tv.sh /usr/bin/
|
||||
(Or cp tv.sh anywhere in your $PATH)
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Simply run ./tv.sh or even better assign it to run with a keybinding
|
||||
|
||||
Also as benmoose39 says in his repo the playlist url changes every 4 hours so if you don't hate setting up cron jobs you should do the following
|
||||
|
||||
```
|
||||
crontab -e (to open the cronjobs file)
|
||||
0 */4 * * * ~/PATH_UP_TO/ustvgo_to_m3u/autorun.sh
|
||||
```
|
||||
|
||||
If you want it to renew before 4 hours have passed or after, you can change the cron parameters according to [crontab.guru](https://crontab.guru/)
|
||||
|
||||
## Dependencies
|
||||
|
||||
* grep
|
||||
* awk
|
||||
* sed
|
||||
* rofi (or dmenu)
|
||||
* mpv
|
||||
* tail
|
||||
* notify-send (Optional)
|
||||
|
||||
## Credits go to
|
||||
|
||||
* [benmoose39](https://github.com/benmoose39)
|
||||
|
||||
As this script uses his [ustvgo_to_m3u](https://github.com/benmoose39/ustvgo_to_m3u) script
|
||||
|
||||
* [USTVGO](https://ustvgo.tv/)
|
||||
|
||||
As they provide the channel streams
|
||||
|
||||
Reference in New Issue
Block a user