A tiny script that helps you stream 90.3 KEXP from Seattle Washington. Also includes cronjob for a radio alarm clock.
Make sure mplayer is installed. If it's not already available on your system, download and install it here: https://mplayerhq.hu/design7/news.html. You might need to install jq
as well: https://stedolan.github.io/jq/download/
On most Unix-like systems, just put the shell script in your /usr/local/bin
and make sure it's executable.
git clone [email protected]:ike/kexp-radio
cd kexp-radio
cp kexp /usr/local/bin
sudo chmod a+x /usr/local/bin/kexp
Use the included crontab to turn on KEXP as a radio alarm clock. The crontab is currently set to 7am. Check out Crontab Guru for a refresher on how to set a cron job correctly.
kexp start
will start the stream in the background.kexp stop
will stop the currently playing stream.kexp np
will grab the current song title, if available.