This is an old revision of the document!
Install curseradio-improved
Curseradio-Improved is a terminal-based internet radio player for Linux that allows users to browse and listen to thousands of online radio stations worldwide.
The program is written in Python and utilizes the popular MPV media player to stream audio. Curseradio features a simple, intuitive interface with a built-in directory of radio stations, making it easy for users to discover new music and radio content directly from the terminal.
To install Curseradio-Improved on Debian, follow the steps below:
First, install the MPV media player by entering the following commands:
sudo apt-get update sudo apt-get install mpv
Next, install Curseradio using the following commands:
sudo apt-get install python3-pip pip3 install curseradio-improved
Once installed, simply type curseradio-improved in the terminal to launch the program. Use the arrow keys to navigate the list of available radio stations and press 'Enter' to start streaming the selected station.
Curseradio provides a unique and convenient way to explore and listen to internet radio stations from around the world within the Linux terminal. Its simple interface, combined with the powerful MPV media player, makes it a popular choice for users seeking a lightweight, text-based radio player. Compatible with a wide range of Linux distributions, Curseradio is an excellent addition to any Linux user’s terminal toolkit.
This application uses graphical characters to display some attributes, these can be modified by editing the file found using this command;
echo "$(pip3 show curseradio-improved | grep -i 'location' | awk '{ print $2 }')/curseradio_improved/configs.json"
If you replace the command portion in that file with something that captures output, you can get the raw URLs for the audio streams that the python spits out!
A handy addition to this is, after install;
cd ~/.local/bin ln -s curseradio-improved radio
Then you can launch it with just radio. The default key commands are;
- 'Up arrow' or 'k' moves up
- 'Down arrow' or 'j' moves down
- 'Home', 'Page up', 'g' or 'p' moves to the top
- 'End, 'Page down', 'G' or 'n' moves to the bottom
- 'Enter' starts playing a stream
- 's' stops playing
- 'q' quits
The 'Console Video Lan Client', cvlc can almost certainly be used in place of mpv here.
