Little bash script that allows to keep a list of online radio and listen to them in the terminal 📻
- Put the script anywhere you want
- Make sure you have MPV installed
- Set the environment variable
$RADIOS_LIST
to the path of yourradios.txt
file (make sure it's full path, no~
allowed)
$ ./radio.sh radio_name https://radio-url.com
Warning : The URL must be a direct stream link like http://ice1.somafm.com/7soul-128-mp3
Otherwise, mpv will throw an error.
$ ./radio.sh radio_name
$ ./radio.sh
Yeah, it's pretty brutal code, I made it quickly because I didn't want a full GUI for something that doesn't really need it. If you want to contribute any help will be appreciated :)