radio 
- Description
- Listen to Internet radio
- Latest
- radio-0.4.1.0.20250305.101402.tar (.sig), 2025-Mar-05, 20.0 KiB
- Maintainer
- Roi Martin <jroi.martin@gmail.com>
- Website
- https://github.com/jroimartin/radio
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install or list-packages.
Full description
Table of Contents
1. Overview
Radio is a GNU Emacs package that enables users to listen to Internet radio stations. Its main focus is in simplicity. It exposes the minimum required interface to interact with a list of radio stations and offloads media playing to an external program configured by the user.
- Package name (NonGNU ELPA):
radio - Source code repository: https://github.com/jroimartin/radio
- Bug tracker: https://github.com/jroimartin/radio/issues
2. Installation
The package is available as radio in NonGNU ELPA. Since the NonGNU
package archive is enabled by default, you can easily install it by
executing M-x package-install RET radio. Alternatively, you can use
M-x list-packages.
3. Configuration
The following configuration variables allow to customize the behavior of the package:
radio-stations-alistAlist of radio stations.
Elements are of the form
(NAME . URL), whereNAMEis the name of the radio station andURLis the URL of the radio station.radio-commandCommand used to play a radio station.
The
:urlkeyword is replaced with the URL of the radio station.
The customize interface can be used to configure these variables.
Specifically, the radio group contains all the relevant settings.
However, if you prefer to add the configuration into your init file, then the following code can serve as an example:
(customize-set-variable
'radio-command
'("mpv" "--terminal=no" "--video=no" :url))
(customize-set-variable
'radio-stations-alist
'(("First station" . "https://example.com/first.aac")
("Second station" . "https://example.com/second.aac")))
It sets mpv as media player and registers two radio stations called
“First station” and “Second station” with their respective URLs.
4. Usage
Radio is mainly controlled by two commands:
radio STATION-NAMEPlay a radio station.
When called from Lisp,
STATION-NAMEmust be the name of one of the stations defined inradio-stations-alist.radio-stopStop playing current radio station.
If no station is being played, calling this function has no effect.
When invoked interactively, radio reads the station name from the
minibuffer, with completion. Modes like fido-mode can greatly
improve user experience.
For users that prefer a more visual interface, there exists a third command:
radio-list-stations- Display a list of all radio stations.
It opens Radio’s tabulated view, which shows the list of configured radio stations as well as the play symbol next to the one being played. It is controlled through the following key bindings:
RET- Play the selected radio station.
s- Stop playing the current radio station.
5. Mode Line
Information about the current station can be shown in the mode line by
enabling radio-line-mode.
radio-line-mode- Toggle radio status display in mode line.
Old versions
| radio-0.4.0.0.20250303.223526.tar.lz | 2025-Mar-04 | 3.97 KiB |
| radio-0.3.1.0.20250220.104508.tar.lz | 2025-Feb-20 | 3.90 KiB |
| radio-0.3.1.0.20250219.85251.tar.lz | 2025-Feb-19 | 3.90 KiB |
| radio-0.3.0.0.20250218.153727.tar.lz | 2025-Feb-18 | 3.85 KiB |
| radio-0.3.0.0.20250217.170828.tar.lz | 2025-Feb-17 | 3.23 KiB |
| radio-0.2.1.0.20250216.184309.tar.lz | 2025-Feb-16 | 3.23 KiB |
| radio-0.2.1.0.20250213.112005.tar.lz | 2025-Feb-13 | 3.19 KiB |
| radio-0.2.0.0.20250213.64125.tar.lz | 2025-Feb-13 | 3.20 KiB |
| radio-0.1.3.0.20250212.101912.tar.lz | 2025-Feb-12 | 3.20 KiB |