Terminal radio for geeks.


Keywords
player, radio, browser, web, terminal, community-radio, internet-radio, internet-radio-station, internet-radio-stations, music, online-radio, online-radios, pyradios
License
MIT
Install
pip install coderadio==0.0.dev19

Documentation

Xradios 📻

"Search, bookmark, and stream internet radio stations directly from your terminal."

PyPI Version License: MIT Python Version

Xradios is a terminal tool to discover and streaming radio stations worldwide.

Features ✨

  • Search: Find radio stations by name, genre, country, language or other criteria.
  • Stream: Play radio stations directly in your terminal.
  • Interactive Interface: Navigate and control playback with keyboard shortcuts.
  • Bookmarks: Save stations for quick access. (TODO)

Installation 🛠️

Prerequisites

  • Python 3.8 or higher
  • mpv or libmpv for audio playback

Using pipx (recommended)

pipx install xradios

Alternative: Install via pip

pip install --user xradios

Usage 🚀

Start the server:

xradiosd

Launch the interactive interface:

xradios

Commands

  • Open command line: Press :
  • Navigate: Use Ctrl + UP/Ctrl + DOWN to move focus.
  • Search for stations: search tag=rock limit=100 order=votes
  • Play a station: Select a station with UP/DOWN and press ENTER.
  • Exit: Press Ctrl + q

Press ? to see a complete list of shortcuts and commands.

Development Setup 💻

  1. Clone the repository:
git clone git@github.com:andreztz/xradios.git
cd xradios
  1. Install in editable mode with development dependencies:
pip install -e .
  1. Run tests:
pytest

Contributing 🤝

Contributions are welcome! Please open an issue or submit a pull request.
See CONTRIBUTING.md for guidelines.

Troubleshooting 🔧

  • No audio? Ensure mpv or libmpv is installed and accessible in you PATH.

Meta 📬

André P. Santos – @ztzandreandreztz@gmail.com

Distributed under the MIT license. See LICENSE for details.

GitHub: https://github.com/andreztz/xradios