Raspberry Pi 4 - Internet Radio

Raspberry Pi 4: Chronicling the Desktop Experience – Streaming radio – Week 30

Last Updated on May 27, 2020


Raspberry Pi 4 - PyRadio

PyRadio works well on the RPI4 and is a competent internet radio player. If you insist on a command-line program, it gets my recommendation. It supports radio-browser.info, so you don’t need to manually add streams. It’s a good way to browse for new radio stations.

Like other curses based software, you’ll want to learn the keyboard shortcuts. Pressing ? raises a useful help dialog. There are different controls for the main window, playlists window, and themes window. The help dialog covers each of them.

The software needs a media player installed on your system. As you can see from the image above, my selected player is mplayer, but it can also use mpv or VLC.

PyRadio reads the stations to use from a CSV file, where each line contains two columns, the first being the station name and the second being the stream URL.

There are 6 preconfigured themes and 3 system themes available. Press t shows the available themes.

Other features include:

  • Select and play a random radio station.
  • Mute the player.
  • Save the volume level.
  • Open, save and reload playlists.
  • Specify a playlist to load (use the -s command line option).
  • Delete the selected station.


There’s no Raspbian package. But compiling PyRadio is very straightforward. Issue the following commands:

$ git clone https://github.com/coderholic/pyradio.git
$ cd pyradio
$ devel/build_install_pyradio

Next page: Page 5 – StreamTuner2

Pages in this article:
Page 1 – Introduction
Page 2 – Tauon Music Box
Page 3 – Radiotray-NG
Page 4 – PyRadio
Page 5 – StreamTuner2
Page 6 – Curseradio
Page 7 – Goodvibes
Page 8 – Sayonara Player
Page 9 – Cantata
Page 10 – Yarock
Page 11 – Summary

Complete list of articles in this series:

Raspberry Pi 4 Blog
Week 36Manage your personal collections on the RPI4
Week 35Survey of terminal emulators
Week 34Search the desktop with the latest version of Recoll
Week 33Personal Information Managers on the RPI4
Week 32Keep a diary with the RPI4
Week 31Process complex mathematical functions, plot 2D and 3D graphs with calculators
Week 30Internet radio on this tiny computer. A detailed survey of open source software
Week 29Professionally manage your photo collection with digiKam
Week 28Typeset beautifully with LyX
Week 27Software that teaches young people how to learn basic computing skills and beyond
Week 26Firefox revisited - Raspbian now offers a real alternative to Chromium
Week 25Turn the Raspberry Pi 4 into a low power writing machine
Week 24Keep the kids learning and having fun
Week 23Lots of choices to view images
Week 22Listening to podcasts on the RPI4
Week 21File management on the RPI4
Week 20Open Broadcaster Software (OBS Studio) on the RPI4
Week 19Keep up-to-date with these news aggregators
Week 18Web Browsers Again: Firefox
Week 17Retro gaming on the RPI4
Week 16Screen capturing with the RPI4
Week 15Emulate the Amiga, ZX Spectrum, and the Atari ST on the RPI4
Week 14Choose the right model of the RPI4 for your desktop needs
Week 13Using the RPI4 as a screencaster
Week 12Have fun reading comics on the RPI4 with YACReader, MComix, and more
Week 11Turn the RPI4 into a complete home theater
Week 10Watching locally stored video with VLC, OMXPlayer, and others
Week 9PDF viewing on the RPI4
Week 8Access the RPI4 remotely running GUI apps
Week 7e-book tools are put under the microscope
Week 6The office suite is the archetypal business software. LibreOffice is tested
Week 5Managing your email box with the RPI4
Week 4Web surfing on the RPI4 looking at Chromium, Vivaldi, Firefox, and Midori
Week 3Video streaming with Chromium & omxplayerGUI as well as streamlink
Week 2A survey of open source music players on the RPI4 including Tauon Music Box
Week 1An introduction to the world of the RPI4 looking at musikcube and PiPackages
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newest Most Voted
Inline Feedbacks
View all comments
Thomas W
Thomas W
4 years ago

I had to also perform the following before cmake would do its thing:
sudo apt install libqt5x11extras5-dev
sudo apt-get install qttools5-dev
sudo apt install libtag1-dev

2 years ago

I also had to install the following packages to get this work:
sudo apt install qt5-default qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev