Linux users can easily access and record internet radio with a few tools. StreamTuner2 provides a simple interface for browsing and streaming radio channels from various online platforms. It works efficiently with multiple radio formats and supports a wide range of online stations.
To record these streams, StreamTuner2 integrates with Streamripper. This command-line tool enables users to save streaming audio to their local machine. Setting up StreamTuner2 with Streamripper allows you to capture live broadcasts and store them in a directory for future use.
The process is straightforward and requires a few steps in the terminal. By configuring StreamTuner2 to launch Streamripper, users can browse, play, and record online radio streams seamlessly on a Linux system. Below is a detailed guide on setting up this system.
Steps to record Internet radio in Linux:
- Open the terminal on your Linux system.
- Install StreamTuner2 and Streamripper.
$ sudo apt update && sudo apt install --assume-yes streamripper streamtuner2 # Ubuntu and Debian
This command works for Debian-based distributions like Ubuntu. Use your system’s package manager if different.
- Create a directory to store recorded radio streams.
$ mkdir -p ~/streamripper
- Launch StreamTuner2 from the terminal.
$ streamtuner2
- Click Save to use default configuration options if you're presented with the Configuration Settings window.
Options will be configured later in the case that you already have StreamTuner2 installed and went through the same screen before.
- Access the configuration screen by selecting Edit → Properties from the toolbar menu.
- Double-click the x-terminal-emulator text to enable the audio recording application configuration option.
- Input the following string to configure StreamTuner2 for using Streamripper to record and save radio streams to the ~/streamripper directory, and press [ENTER] to confirm the change.
x-terminal-emulator -e /usr/bin/streamripper %srv -d ~/streamripper
- Click Save to exit the configuration screen.
- Browse the channel list and choose a channel you want to record.
- Right click on the channel and select Record.
Make sure you have codec.
Related: How to install proprietary media codecs and font on Ubuntu - Visit the Streamripper_rips directory to access the saved recordings.
$ cd ~/streamripper/Streamripper_rips
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Comment anonymously. Login not required.