Skip to content

DanielSchuette/curseradio-improved

 
 

Repository files navigation

Curseradio-Improved

PyPI PyPI - Wheel

Overview

curseradio-improved is a web radio with an intuitive terminal-based user interface and vi-like key-bindings. Customizations can be done via a configuration file in json format.

Screenshot

Curseradio-improved is an improved version of curseradio, a curses interface for browsing and playing an OPML directory of internet radio streams. It is designed to use the tunein directory found here, but could be adapted to others.

Audio playback uses mpv. Curseradio-improved requires python3 and the libraries requests, xdg and lxml.

Installation

Install the module from PyPI:

pip3 install curseradio-improved
curseradio-improved # tests the installation success

You can also install curseradio-improved from source by cloning (or downloading the code from) this repository. Then type:

make # might prompt for `sudo' password
curseradio-improved # tests the installation success

Settings

Settings are parsed from a configs.json. Currently, colors and key bindings can be change to your liking. Additional settings like status bar display text, section separators and more will be configurable in the future. To find the location of the settings file of your installation, type:

echo "$(pip3 show curseradio-improved | grep -i 'location' | awk '{ print $2 }')/curseradio_improved/configs.json"

Key Bindings

You can use the keys below to navigate and select things in the tui. vi-like keys should work intuitively.

Key(s) Command
or k, or j navigate
PgUp or p, PgDn or n navigate inbetween sections
Home or g, End or G to top/bottom
Enter open/close folders, play stream
s stop playing stream
q quit
f toggle favourite

License

curseradio-improved is MIT-licensed (see LICENSE.md).

About

An improved terminal-based web radio player.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.9%
  • Shell 5.7%
  • Makefile 2.4%