Additionally, this is a great way to listen to streaming radio without a website hogging your CPU and RAM.
If you are using Peppermint or any other Ubuntu 18.04 based distribution that supports snap packages you can grab PyRadio by running the following commands in the terminal.
sudo apt install snapd sudo snap install pyradio
I visited TuneIn.com where I was able to inspect their player and collect the necessary public urls to mp3 streams while they were playing.
This is my first use of a snap application so I’m not certain the configuration path will be identical on your system.
Once up and running I opened stations.csv in vim and added the NPR station streams I collected earlier.
Here are those URLs if you would like to test them.
After saving the .csv and restarting PyRadio my new stations appeared for selection.