Skip to content

wdenton/whipradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whip Radio

Whip Radio is a little shell script that streams internet radio stations I like.

whipradio-screenshot.png

Requirements

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

Installation

This command will download all the files without requiring a GitHub account:

git clone https://github.com/wdenton/whipradio.git

Usage

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.

Adding a station

Edit stations.txt and add a line with three parts separated by pipes:

name|url|description

Related

Sources of radio stream information:

Similar projects:

About

Small shell script for streaming sounds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages