This is a simple internet radio alarm for the Raspberry Pi. It is basically a tiny REST interface using Gunicorn and Falcon playing radio using mplayer.
sudo apt install python git mplayer python-falcon gunicorn
cd ~
mkdir src
cd src
git clone https://github.com/julianoes/rpi-radio-alarm
Edit the gunicorn.service file and make sure the WorkingDirectory
matches where this repository is cloned into.
Copy the systemd service file to /etc/systemd/system, enable and start it.
sudo cp gunicorn.service /etc/systemd/system/
sudo systemctl start gunicorn
sudo systemctl enable gunicorn
This is published under the 3-Clause BSD License.