Raspberry Pi 4 - Internet Radio

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

Last Updated on May 27, 2020

Radiotray-NG

Raspberry Pi 4 - Radiotray-NG
Click for full size image

There’s a RadioTray package in the Raspbian repositories. This is NOT the program here. And I strongly recommend you don’t install the Raspbian package as that program is unmaintained.

Radiotray-NG is a separate project that arose because the original RadioTray application wasn’t getting the attention it deserved. What does Radiotray-NG do? It adds an icon to your task bar, although it’s not very discernible given the default background colour of the task bar. Clicking the icon reveals a menu dialog (shown in the image to the left). There’s a wide range of internet radio stations already populated for you. The interface is simple yet works well.

My biggest issue with Radiotray-NG is that I wasn’t able to get it working with ALSA. No sound was output. But it does work on my system if I install Pulseaudio. But I wouldn’t touch Pulseaudio with a barge pole on the RPI4, as it unleashes numerous issues. Unless I can get Radiotray-NG to play ball with ALSA, I won’t be using this program in the long term.

Installation

There’s no package in Raspbian’s repositories. On my system, I was missing a fair few packages to be able to compile this program. This was rectified with the command:

$ sudo apt install libwxgtk3.0 libboost1.67-tools-dev libboost1.67-all-dev gstreamer1.0-devel libxdg-basedir-dev libbsd-dev libnotify-dev libappindicator3-dev libglibmm-2.4-dev

Next, clone the project’s repositories, compile, and install the software.

$ git clone https://github.com/ebruck/radiotray-ng.git
$ cd radiotray-ng
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ sudo make install

Raspberry Pi 4 - Radiotray-NG

Next page: Page 4 – PyRadio

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
Subscribe
Notify of
guest

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

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Thomas W
Thomas W
3 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

Toddy
Toddy
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