Whip Radio is a little shell script that streams internet radio stations I like.
This requires a Unix-like system.
bash
(version 4)git
(to get the code)mpv
(to play the stream)whiptail
(to do the dialog box)
On Ubuntu, this will install what you need (whiptail
is built in):
sudo apt install git mpv
On Mac OS X, run this to get whiptail
(requires the Homebrew package manager):
brew install newt
It will even work on Android, with Termux. Open a shell, then run:
pkg install git whiptail mpv
This command will download all the files without requiring a GitHub account:
git clone https://github.com/wdenton/whipradio.git
Run the script on its own, for example:
./whipradio # If you are in the directory
~/whipradio/whipradio # Or a full path can be specified
Use the arrow keys to go up or down to the station you want to hear, then hit Enter.
To quit, hit Tab to move to OK
, then Tab (or right-arrow) to Cancel
, then hit Enter.
Edit stations.txt
and add a line with three parts separated by pipes:
name|url|description
Sources of radio stream information:
- Community Radio Station Board (listings for thousands of online stations)
- Radia (small international network of experimental art radio stations)
Similar projects:
- Shortwave (GNOME internet radio player)